@epicgames-ps/lib-pixelstreamingcommon-ue5.5 / Logger/Logger / Logger
Logger/Logger.Logger
A basic console logger utilized by the Pixel Streaming frontend to allow logging to the browser console.
• new Logger(): Logger
▪ Static
verboseLogLevel: number
= 5
▸ CommonLog(level
, stack
, message
): void
The common log function that all other log functions call to.
Name | Type | Description |
---|---|---|
level |
string |
the level of this log message. |
stack |
null | string |
an optional stack trace string from where the log message was called. |
message |
string |
the message to be logged. |
void
▸ Error(stack
, message
): void
The standard logging output
Name | Type | Description |
---|---|---|
stack |
string |
the stack trace |
message |
string |
the message to be logged |
void
▸ GetStackTrace(): string
Captures the stack and returns it
string
the current stack
▸ Info(stack
, message
, verbosity?
): void
The standard logging output
Name | Type | Description |
---|---|---|
stack |
string |
the stack trace |
message |
string |
the message to be logged |
verbosity? |
number |
the verbosity level |
void
▸ Log(stack
, message
, verbosity?
): void
The standard logging output
Name | Type | Description |
---|---|---|
stack |
string |
the stack trace |
message |
string |
the message to be logged |
verbosity? |
number |
the verbosity level |
void
▸ SetLoggerVerbosity(verboseLogLevel
): void
Set the log verbosity level
Name | Type |
---|---|
verboseLogLevel |
number |
void
▸ Warning(stack
, message
): void
The standard logging output
Name | Type | Description |
---|---|---|
stack |
string |
the stack trace |
message |
string |
the message to be logged |
void