This flag is being used to monitor the log4js configure status.
Get current level setting
Allow for programmatic adjustments to the logger
new level to set
Get underlying logger service
This function also check to see if log4js is configured since the last time it was called. If yes, then update the logger with to leverage the new configuration.
Set underlying logger service
This function also check to see if log4js is configured since the last time it was called. If yes, then update the logger with to leverage the new configuration.
Log a message at the "debug" level Example: 'Got cheese'
printf or mustache style template string, or a plain string message
printf or mustache style args
Log a message at the "error" level Example: 'Cheese is too ripe!'
printf or mustache style template string, or a plain string message
printf or mustache style args
Log a message at the "fatal" level Example: 'Cheese was breeding ground for listeria.'
printf or mustache style template string, or a plain string message
printf or mustache style args
Obtain .js file name and line number which issued the log message. NOTE(Kelosky): Consensus seems to be that this may produce a lot of overhead by creating an Error and obtaining stack information for EVERY log message that is issued.
There are also packages available to obtain the appropriate line number.
Perhaps when a package pops up that gives the appropriate .ts line number and file name, we'll remove usage of this method.
Log a message at the "info" level Example: 'Cheese is Gouda'
printf or mustache style template string, or a plain string message
printf or mustache style args
Log an Imperative error, including any optional fields if present
the error to log
Log a message without CallerFileAndLineTag Example: 'Cheese that is plain'
printf or mustache style template string, or a plain string message
printf or mustache style args
Log a message at the "trace" level Example: 'Entering cheese testing'
printf style template string, or a plain string message
printf style args
Log a message at the "warn" level Example: 'Cheese is quite smelly.'
printf or mustache style template string, or a plain string message
printf or mustache style args
Get log4js instance directed at our app's category.
Return an instance to the console logger which applies TextUtils invoked through this Logger class.
Note(Kelosky): this is not the same as obtaining a new Console() directly, since we can make use of the internationalization and other routines within this Logger class via this implementation.
Get accessibility to logging service to invoke log calls, e.g Logger.getLogger.info("important log info goes here");
Get accessibility to logging service to invoke log calls, e.g Logger.getLogger.info("important log info goes here");
category of logger to obtain
Get an instance of logging and adjust for config if config is present; otherwise, use defaults.
[description]
Test if the input level is a valid value for Log4js.
input level to be tested
Write all messages that was stored in memory to the input file.
destination file name
Generated using TypeDoc
Note(Kelosky): it seems from the log4js doc that you only get a single instance of log4js per category. To reconfigure, you should "shutdown" logger.