Service registered as "ct.framework.api.LogService" used to notify user about problems.

interface LogNotificationService {
    debug(shortInfo: string, message?: string, error?: Error): void;
    debug(shortInfo: string, error?: Error): void;
    debug(logItem: LogNotificationItem): void;
    error(shortInfo: string, message?: string, error?: Error): void;
    error(shortInfo: string, error?: Error): void;
    error(logItem: LogNotificationItem): void;
    getLog(): readonly LogNotificationEntry[];
    info(shortInfo: string, message?: string, error?: Error): void;
    info(shortInfo: string, error?: Error): void;
    info(logItem: LogNotificationItem): void;
    warn(shortInfo: string, message?: string, error?: Error): void;
    warn(shortInfo: string, error?: Error): void;
    warn(logItem: LogNotificationItem): void;
}

Methods

  • Logs a debug message

    Parameters

    • shortInfo: string
    • Optionalmessage: string
    • Optionalerror: Error

    Returns void

  • Logs a debug message

    Parameters

    • shortInfo: string
    • Optionalerror: Error

    Returns void

  • Logs a debug message

    Parameters

    Returns void

  • Logs an error message

    Parameters

    • shortInfo: string
    • Optionalmessage: string
    • Optionalerror: Error

    Returns void

  • Logs an error message

    Parameters

    • shortInfo: string
    • Optionalerror: Error

    Returns void

  • Logs an error message

    Parameters

    Returns void

  • Logs an info message

    Parameters

    • shortInfo: string
    • Optionalmessage: string
    • Optionalerror: Error

    Returns void

  • Logs an info message

    Parameters

    • shortInfo: string
    • Optionalerror: Error

    Returns void

  • Logs an info message

    Parameters

    Returns void

  • Logs a warning message

    Parameters

    • shortInfo: string
    • Optionalmessage: string
    • Optionalerror: Error

    Returns void

  • Logs a warning message

    Parameters

    • shortInfo: string
    • Optionalerror: Error

    Returns void

  • Logs a warning message

    Parameters

    Returns void