Skip to main content
Version: 4.1.0

LogStore

Index

Properties

hiddenTags

hiddenTags: string[]

logEntries

logEntries: LogEntry[]

logLevel

logLevel: ErrorSeverity

readonlylogLimit

logLimit: 1000 = 1000

Accessors

newestMsg

  • get newestMsg(): string
  • Returns string

staticInstance

  • get Instance(): LogStore
  • Returns LogStore

Methods

addDebug

  • addDebug(message: string, tags?: string[], title?: string): void
  • Parameters

    • message: string
    • tags: string[] = []
    • title: string = ""

    Returns void

addError

  • addError(message: string, tags?: string[], title?: string): void
  • Parameters

    • message: string
    • tags: string[] = []
    • title: string = ""

    Returns void

addInfo

  • addInfo(message: string, tags?: string[], title?: string): void
  • Parameters

    • message: string
    • tags: string[] = []
    • title: string = ""

    Returns void

addLog

  • addLog(entry: LogEntry): void
  • Parameters

    • entry: LogEntry

    Returns void

addWarning

  • addWarning(message: string, tags?: string[], title?: string): void
  • Parameters

    • message: string
    • tags: string[] = []
    • title: string = ""

    Returns void

clearLog

  • clearLog(): void
  • Returns void

setLevel

  • setLevel(level: ErrorSeverity): void
  • Parameters

    • level: ErrorSeverity

    Returns void

toggleTag

  • toggleTag(tag: string): void
  • Parameters

    • tag: string

    Returns void