@obsidize/logger
Version:
A tiny javascript logging library
13 lines (12 loc) • 395 B
TypeScript
import type { LogEventLike } from './types';
/**
* Basic constructible event used by the rest of this library.
*/
export declare class LogEvent implements LogEventLike {
level: number;
tag: string;
message: string;
params: any[] | undefined;
timestamp: number;
constructor(level: number, tag: string, message: string, params?: any[] | undefined, timestamp?: number);
}