LogWriter
Implements
Index
Constructors
publicconstructor
Parameters
maxDepth: number = 3
The maximum depth of the data to collect. Default is
3
.
Returns LogWriter
Accessors
public[toStringTag]
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
entry: LogEntry
The log entry to write.
Returns void
Initializes a new instance.