Search
⌃K

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')
The logger responses are found in the Logs section of the admin portal. Filter by Logger type to see the result.