file-error-logging
Version:
Log your errors directly to the console and to a .log file
16 lines • 376 B
TypeScript
declare class LogStore {
private logs;
addLog(level: string, message: string, context?: any): void;
query(filter: {
level?: string;
since?: Date;
context?: any;
}): {
level: string;
message: string;
timestamp: Date;
context: any;
}[];
private matchesContext;
}
//# sourceMappingURL=Store.d.ts.map