DCS World Typescript
    Preparing search index...

    LoggerTransports are the functions that are used to log messages with different severity levels.

    They are statically defined on the Logger class.

    Update them to change the way messages are logged.

    const logger = new Logger("MyLogger");
    logger.transports = { debug: print, info: print, warn: print, error: print };
    interface LoggerTransports {
        debug: (message: string) => void;
        error: (message: string) => void;
        info: (message: string) => void;
        trace: (message: string) => void;
        warn: (message: string) => void;
    }
    Index

    Properties

    debug: (message: string) => void
    error: (message: string) => void
    info: (message: string) => void
    trace: (message: string) => void
    warn: (message: string) => void