Logger Module

Debug logging facility. Logs to the logger log source. Import

import logger from 'logger';

Methods

info/warn/error/debug/trace(...)

Takes variable arguments and accepts javascript objects. The resulting data is stored in the dat log field. the administration interface developer logs contains these log entries under the Logger source.

Examples

Logger Example

import logger from 'logger'
logger.info('Hello World')

Last updated