Interface ILog

interface ILog {
    context?: Record<string, any>;
    data?: Record<string, any>;
    error?: {
        message: string;
        name: string;
        stack?: string;
    };
    level: LogLevels;
    message: any;
    source?: string;
    timestamp: Date;
}

Properties

context?: Record<string, any>
data?: Record<string, any>
error?: {
    message: string;
    name: string;
    stack?: string;
}
level: LogLevels
message: any
source?: string
timestamp: Date