Skip to main content
Version: Next

LogStore

Index

Properties

hiddenTags

hiddenTags: string[]

logEntries

logEntries: LogEntry[]

logLevel

logLevel: ErrorSeverity

readonlylogLimit

logLimit: 1000 = 1000

Accessors

newestMsg

  • get newestMsg(): string
  • Returns string

staticInstance

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

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