Namespace to use as identified in the console.log
and also in the localStorage
Variable to use if we want to create logs of different sources (Component name e.g.)
Function to disable the logger
Function to enable the logger
Function to create an error log
message to log
the source related to the log message, Optional
Function to log the message to the console
type of message to log
the message to print
the source related to the log message, Optional
Function to get the base namespace to use in the localstorage
Function to create an information log
message to log
the source related to the log message, Optional
Function to set the base namespace to use in the localstorage
string to use as namespace
Function to set the source context
string to use as source
Function to create a trace log
message to log
the source related to the log message, Optional
Function to create a warning log
message to log
the source related to the log message, Optional
Generated using TypeDoc
Function to use instead of
console.log
.It will print the logs in different colors and with more control