Options
All
  • Public
  • Public/Protected
  • All
Menu

Class KavenLog

Hierarchy

  • KavenLog

Index

Constructors

  • Parameters

    Returns KavenLog

Properties

AnsiColorDateTime?: string
AnsiColorError: string = AnsiColors_Red
AnsiColorInfo: string = AnsiColors_Blue
AnsiColorLevel?: string
AnsiColorLog: string = AnsiColors_Green
AnsiColorWarn: string = AnsiColors_Yellow
DateTimeFormat: string = DateTimeFormat.FullDataTime
HighlightType: LogHighlightType = LogHighlightType.All
Level: string = LogLevel.Log
Message: string = Strings_Empty
ShowDateTime: boolean = true
ShowLevel: boolean = true

Accessors

  • get ColorLevel(): string
  • Returns string

  • get HighlightDateTime(): boolean
  • Returns boolean

  • get HighlightLevel(): boolean
  • Returns boolean

Methods

  • SetAnsiColorDateTime(color?: string): KavenLog
  • Parameters

    • Optional color: string

    Returns KavenLog

  • SetAnsiColorLevel(color?: string): KavenLog
  • Parameters

    • Optional color: string

    Returns KavenLog

  • SetDateTimeFormat(format: string): KavenLog
  • Parameters

    • format: string

    Returns KavenLog

  • ToString(raw?: boolean): string
  • Parameters

    • raw: boolean = false

    Returns string

  • Parameters

    Returns void

  • toString(): string
  • Returns string

  • Parameters

    • message: string

    Returns KavenLog

  • Parameters

    • message: string

    Returns KavenLog

  • Parameters

    • message: string

    Returns KavenLog

  • Parameters

    • message: string

    Returns KavenLog

Generated using TypeDoc