Constructor of OINOConsoleLog
logging level
Static
debugLog debug event. Debug events are prettyprinted.
domain of the log event
channel of the log event
method of the log event
message of the log event
Optional
data: anystructured data associated with the log event
Static
errorLog error event. Error events are printed as a single line.
domain of the log event
channel of the log event
method of the log event
message of the log event
Optional
data: anystructured data associated with the log event
Static
exceptionLog exception event. Exception events are prettyprinted and preserve newlines so that stack traces are readable.
domain of the log event
channel of the log event
method of the log event
message of the log event
Optional
data: anystructured data associated with the log event
Static
exportStatic
importStatic
infoLog info event. Info events are printed as a single line.
domain of the log event
channel of the log event
method of the log event
message of the log event
Optional
data: anystructured data associated with the log event
Static
setSet active logger instance.
OINOLog instance
Static
setSet log level for given combination of domain/channel/method. Not defining dimension(s) means they match any value. Multiple settings can be combined to set different logging accuracy specifically
For example: logLevel: warning, domain: *, channel: , method: * will only output error events. logLevel: debug, domain: d1, channel: c1, method: "" will enable debug events for channel c1 of domain d1. logLevel: info, domain: d1, channel: c1, method: m1 will supress debug events for method m1.
log level to use
domain of the log event (default: "*" for all)
channel of the log event (default: "*" for all)
method of the log event (default: "*" for all)
Static
warningLog warning event. Warning events are printed as a single line.
domain of the log event
channel of the log event
method of the log event
message of the log event
Optional
data: anystructured data associated with the log event
Logging implementation based on console.log.