Skip to main content
Version: 12 Dec 2024

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

TypeNameDescription
stringmessage
LogTypelogType

Protected Methods

FormatLogMessage

protected virtual string FormatLogMessage(
string message
)

Parameters

TypeNameDescription
stringmessage

LogInternal

protected virtual void LogInternal(
string message,
LogType logType =LogType.Log
)

Parameters

TypeNameDescription
stringmessage
LogTypelogType

ScopedLog

protected ScopedLog(
string scopeName,
bool showStackTrace =false
)

Parameters

TypeNameDescription
stringscopeName
boolshowStackTrace

Protected Attributes

scopeName


protected string scopeName => m_ScopeName;