Skip to main content

LogInfo

[Player Network SDK & MSDK] Prints custom logs to record critical debugging information and reflect the entire contextual environment of app crashes and exceptions.

Supported channels: Firebase, CrashSight

Supported Platform

Supports Android, iOS, Windows platform.
note

MSDK currently does not support Windows.

Function Definition

void LogInfo(int level, string tag, string log);

Input Parameters

ParameterTypeDescription
levelintLog level
0: silent
1: error
2: warning
3: inifo
4: debug
5: verbose
tagstringLog module category
logstringLog content

Code Sample

UnionAdapterAPI.GetCrashService().LogInfo(1, "tag", "log");