Accessor to the (readonly) log;
Debug level log.
Rest
...otherData: LogItem[]Warning level log.
Rest
...otherData: LogItem[]Error level log.
Rest
...otherData: LogItem[]Information level log.
Rest
...otherData: LogItem[]Entry point for a increase in stack level. This is issued at each function entry except the top level, and at some, more complex, cycles. Needed if the logger instance intends to create recursive logs or if the structure is complex.
identification of the position in the code
Optional
extra_info: stringpossible extra information on the level increase
Rest
...otherData: LogItem[]Counterpart of the push method.
Very simple Logger interface, to be used in the code.
Implementations should follow the usual interpretation of log severity levels. E.g., if the Logger is set up with severity level of, say,
LogLevels.info
, then the messages todebug
should be ignored. If the level is set toLogLevels.warn
, then only warning and debugging messages should be recorded/displayed, etc.For each call the arguments are:
id
value of the respective HTML element in the specification).