ScopedLog
Inherits from:
IDisposable
Inherited by:
MagicLeap.Android.AndroidCameraLog
Public Methods
void Dispose
public void Dispose()
void Log
public void Log(
string message,
LogType logType =LogType.Log
)
Parameters
Type | Name | Description |
---|---|---|
string | message | |
LogType | logType |
Protected Methods
FormatLogMessage
protected virtual string FormatLogMessage(
string message
)
Parameters
Type | Name | Description |
---|---|---|
string | message |
LogInternal
protected virtual void LogInternal(
string message,
LogType logType =LogType.Log
)
Parameters
Type | Name | Description |
---|---|---|
string | message | |
LogType | logType |
ScopedLog
protected ScopedLog(
string scopeName,
bool showStackTrace =false
)
Parameters
Type | Name | Description |
---|---|---|
string | scopeName | |
bool | showStackTrace |
Protected Attributes
scopeName
protected string scopeName => m_ScopeName;