UNPKG

node-eventlog

Version:

An event log utility for Windows 10 & Server 2012/2016 that actually works

8 lines (6 loc) 241 B
export type Severity = "info" | "warn" | "error"; export declare class EventLog { public readonly source: string; constructor(source: string); log(message: string, severity?: Severity, code?: number): Promise<boolean>; }