@adapt-arch/utiliti-es
    Preparing search index...

    Interface ILogger

    Interface for logging operations.

    interface ILogger {
        "[asyncDispose]"(): PromiseLike<void>;
        crit(msg: string): void;
        debug(msg: string): void;
        error(msg: string): void;
        info(msg: string): void;
        isEnabled(level: LogLevel): boolean;
        log(
            level: LogLevel,
            message: string,
            e?: Error,
            params?: ExtraParams,
        ): void;
        logMessage(message: LogMessage): void;
        trace(msg: string): void;
        warn(msg: string): void;
    }

    Hierarchy

    • AsyncDisposable
      • ILogger

    Implemented by

    Index

    Methods

    • Returns PromiseLike<void>