Description

Logging module.

Includes and sets up the loglevel logger.

To use the logger, simply call HHM.log.{info,warn,error,…}().

After the room was started, messages can be logged using room.log(message, level).

Levels can be accessed via HHM.log.level.*

Methods


<static> constructor() → {Object}

Creates a new loglevel logger instance, with a static HHM prefix and dynamic level prefix.

Description

Creates a new loglevel logger instance, with a static HHM prefix and dynamic level prefix.

Returns

Logger instance.

Details
  • make initial log level configurable
  • document log levels