Preparing search index...
The search index is not available
@tsjam/logger
@tsjam/logger
BufferOutput
Class BufferOutput
Implement this API in order to receive log writes into your custom output.
Implements
LogOutput
Index
Constructors
constructor
Properties
buffer
Methods
buffer
To
String
flush
write
Constructors
constructor
new
BufferOutput
(
maxLogEntries
?:
number
,
flushOnOverload
?:
boolean
,
)
:
BufferOutput
Parameters
maxLogEntries
:
number
= 200
flushOnOverload
:
boolean
= false
Returns
BufferOutput
Properties
Readonly
buffer
buffer
:
LogEntry
[]
= []
Methods
buffer
To
String
bufferToString
()
:
string
Returns
string
flush
flush
()
:
void
Returns
void
write
write
(
entry
:
LogEntry
)
:
void
Parameters
entry
:
LogEntry
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
buffer
Methods
buffer
To
String
flush
write
@tsjam/logger
Loading...
Implement this API in order to receive log writes into your custom output.