@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