Properties

Properties

format: LogFormat
level: "info" | "error" | "disable" | "warn" | "debug"
onLog: ((props) => void)

Type declaration

    • (props): void
    • Parameters

      • props: {
            id: string;
            level: string;
            message: any[];
            timestamp: string;
        }
        • id: string
        • level: string
        • message: any[]
        • timestamp: string

      Returns void