Skip to main content

LogWriter

Implements

Index

Constructors

Accessors

Methods

Constructors

publicconstructor

  • Initializes a new instance.


    Parameters

    • maxDepth: number = 3

      The maximum depth of the data to collect. Default is 3.

    Returns LogWriter

Accessors

public[toStringTag]

  • get [toStringTag](): string
  • A string tag that identifies this object as a log writer.


    Returns string

Methods

publicwrite

  • Writes a log entry to the console. This method is called by the logger. It can be overridden in derived classes to customize the log destination. The default implementation writes the log entry to the console.


    Parameters

    Returns void

Page Options