UNPKG

@gdksoftware/logging

Version:
31 lines (22 loc) 871 B
# @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 ```sh npm install @gdksoftware/logging yarn add @gdksoftware/logging bower install @gdksoftware/logging --save ``` ## Usage ### Javascript ```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. ```typescript import Logging from "../helpers/logging"; ``` Package built by [GDK Software NL]('http://www.gdksoftware.nl) / [GDK Software UK]('http://www.gdksoftware.co.uk)