LogoPear Docs

bare-system-logger

System logger for Bare

Documented against v1.0.3
stable

bare-system-logger — System logger for Bare. It is a native addon.

npm i bare-system-logger

Usage

const SystemLog = require('bare-system-logger')

const log = new SystemLog()

log.info('Hello %s', 'world!')

API

Classes

SystemLog

class SystemLog {
}

A logger that writes formatted messages to the native OS system log, at debug, info, warn, error, and fatal severity levels.

See also

On this page