Theia API Documentation v1.77.0
    Preparing search index...

    Parses command line switches related to log levels, then watches the log levels file (if specified) for changes. This is the source of truth for what the log level per logger should be.

    Implements

    Index
    _defaultLogLevel: LogLevel = LogLevel.INFO

    Log level to use for loggers not specified in logLevels.

    _logFile?: string
    _logLevels: LogLevels = {}
    asyncSubscriptions: AsyncSubscription[] = []
    logConfigChangedEvent: Emitter<void> = ...
    toDispose: DisposableCollection = ...
    wildcardRegexCache: Map<string, RegExp> = ...
    • Parameters

      • args: { _: (string | number)[]; $0: string; [argName: string]: unknown }
        • [argName: string]: unknown

          All remaining options

        • _: (string | number)[]

          Non-option arguments

        • $0: string

          The script name or node command

      Returns Promise<void>