OptionalglobalOptionalloggerObject containing an array of [LoggerProcessors]LoggerProcessor to be called after console log when ILoggerConfig.useLoggerProcessors is true
OptionallogAny value from LogLevelsEnum defaults to LogLevelsEnum.DEBUG
OptionalprefixThe prefix to be appended before the log message
OptionalprefixA valid CSS string color for the prefix (where it is supported). Examples: red | #ffbbss | rgb(255,10,2) | rgba(255,10,2,1)
OptionalshowPrints the logger name after after the log contents (except for .dir)
const logger = new SaninnLogger({
   showLoggerFunctionNames: true
 });
logger.log('test') // --> [LOG]: test
* const logger = new SaninnLogger({
   prefix: 'my-logger',
   showLoggerFunctionNames: true
 });
logger.log('test') 
OptionaluseIf active the function declared on globalPreLoggerFunctions will be called before every loggerProcessor and console function. It DOES NOT Prevent the console to print the correct call line
OptionaluseIf active the array of functions on ILoggerConfig.loggerProcessors will be called before every console function, util if you need to send the logs to third party libs or analytics services. IMPORTANT: when this is enabled the SaninnLogger will lose the console position because there is no way to get the console message without proxy it.
This function will be called before the console prints their output when ILoggerConfig.useGlobalPreLoggerFunctions is true