Options
All
  • Public
  • Public/Protected
  • All
Menu

Logger used throughout the application to allow configuration of the log level required for the messages.

Hierarchy

  • Logger

Index

Constructors

Properties

AllLogLevel: 7 = 7

All logs

Error: ((message: string, limit?: number) => void)

Type declaration

    • (message: string, limit?: number): void
    • Write an error message to the console

      Parameters

      • message: string
      • Optional limit: number

      Returns void

ErrorLogLevel: 4 = 4

Only error logs

Log: ((message: string, limit?: number) => void)

Type declaration

    • (message: string, limit?: number): void
    • Log a message to the console

      Parameters

      • message: string
      • Optional limit: number

      Returns void

MessageLimitReached: string

Message to display when a message has been logged too many times

MessageLogLevel: 1 = 1

Only message logs

NoneLogLevel: 0 = 0

No log

OnNewCacheEntry: ((entry: string) => void)

Type declaration

    • (entry: string): void
    • Callback called when a new log is added

      Parameters

      • entry: string

      Returns void

Warn: ((message: string, limit?: number) => void)

Type declaration

    • (message: string, limit?: number): void
    • Write a warning message to the console

      Parameters

      • message: string
      • Optional limit: number

      Returns void

WarningLogLevel: 2 = 2

Only warning logs

errorsCount: number

Gets a value indicating the number of loading errors

ignorenaming

Accessors

  • get LogCache(): string
  • Gets current log cache (list of logs)

    Returns string

  • set LogLevels(level: number): void
  • Sets the current log level (MessageLogLevel / WarningLogLevel / ErrorLogLevel)

    Parameters

    • level: number

    Returns void

Methods

  • ClearLogCache(): void
  • Clears the log cache

    Returns void

Legend

  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Property
  • Method
  • Static property
  • Static method

Settings

Theme