@gdksoftware/logging
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

@gdksoftware/mysql

This is a simple wrapper to the default console log. It makes it easier to choose which messages should be shown in the terminal.

Installation

npm install @gdksoftware/logging
yarn add @gdksoftware/logging
bower install @gdksoftware/logging --save

Usage

Javascript

const Logging = require('@gdksoftware/logging');

loglevel = LogLevel.Debug

Logging.info('This is my info message', extraParam1, extraParam2);                    
Logging.error('This is my info message', extraParam1, extraParam2)

TypeScript

The import differs For TypeScript, but you can use it like the common Javascript example.

import Logging from "../helpers/logging";

Package built by GDK Software NL / GDK Software UK

Dependents (0)

Package Sidebar

Install

npm i @gdksoftware/logging

Weekly Downloads

0

Version

1.0.3

License

ISC

Unpacked Size

4.59 kB

Total Files

6

Last publish

Collaborators

  • pquist
  • rvorthoren
  • reinierstam
  • cdekraker
  • cmgeuze