Options
All
  • Public
  • Public/Protected
  • All
Menu

Information about the log format, what will a log line look like?

Hierarchy

  • LogFormat

Index

Constructors

constructor

  • new LogFormat(dateFormat?: DateFormat, showTimeStamp?: boolean, showLoggerName?: boolean): LogFormat
  • Constructor to create a LogFormat. Can be created without parameters where it will use sane defaults.

    Parameters

    • Default value dateFormat: DateFormat = new DateFormat()

      DateFormat (what needs the date look like in the log line)

    • Default value showTimeStamp: boolean = true

      Show date timestamp at all?

    • Default value showLoggerName: boolean = true

      Show the logger name?

    Returns LogFormat

Accessors

dateFormat

showLoggerName

  • get showLoggerName(): boolean

showTimeStamp

  • get showTimeStamp(): boolean

Generated using TypeDoc