Class UnityLogWriter
Output log to Unity
Implements
Namespace: Pixiv.VroidSdk.Unity.Logger
Assembly: Pixiv.VroidSdk.Unity.dll
Syntax
public class UnityLogWriter : MonoBehaviour, ISdkLogWriter
Properties
LogLevel
Declaration
public LogLevel LogLevel { get; }
Property Value
Type | Description |
---|---|
LogLevel |
Methods
Log(Object)
Output default level log
Declaration
public void Log(object message)
Parameters
Type | Name | Description |
---|---|---|
Object | message | Output object |
LogError(Object)
Output error level log
Declaration
public void LogError(object message)
Parameters
Type | Name | Description |
---|---|---|
Object | message | Output object |
LogException(Exception)
Output exception
Declaration
public void LogException(Exception e)
Parameters
Type | Name | Description |
---|---|---|
Exception | e | Exception output |
LogWarning(Object)
Output warning level log
Declaration
public void LogWarning(object message)
Parameters
Type | Name | Description |
---|---|---|
Object | message | Output object |