nCore.nLogger
A module for logging functionality. This is not for production. Please note that we do not disable console methods outside of our angular application scope.
When the global DEBUG_ENV variable is set to false we disable all console methods based on your config.
Configuration
Use the provider to overwrite defaults.
var myConfig = nLoggerConfigProvider;nLoggerConfigProvider;
The .configure() method acts as a getter if no arguments is provided and a setter otherwise.
Default settings:
nLoggerConfigProvider;
Usage
All logging methods takes 3 arguments:
nLoggermethodmessage data methodSpecificOptions;
Message and data can be of any type, methodSpecificOptions can overwrite the defaults and must be an object.
angular ;