swaf/dist/models/Log.d.ts
2020-04-22 17:49:58 +02:00

22 lines
617 B
TypeScript

/// <reference types="node" />
import Model from "../db/Model";
import { LogLevelKeys } from "../Logger";
export default class Log extends Model {
private level?;
message?: string;
private log_id?;
private error_name?;
private error_message?;
private error_stack?;
private created_at?;
protected defineProperties(): void;
getLevel(): LogLevelKeys;
setLevel(level: LogLevelKeys): void;
getLogID(): string | null;
setLogID(buffer: Buffer): void;
getErrorName(): string;
getErrorMessage(): string;
getErrorStack(): string;
setError(error?: Error): void;
}