UNPKG

@obsidize/logger

Version:
13 lines (12 loc) 336 B
/** * Basic constructible event used by the rest of this library. */ export class LogEvent { constructor(level, tag, message, params = undefined, timestamp = Date.now()) { this.level = level; this.tag = tag; this.message = message; this.params = params; this.timestamp = timestamp; } }