35 lines
1.1 KiB
C#
35 lines
1.1 KiB
C#
using System;
|
|
using System.Runtime.CompilerServices;
|
|
using UnityEngine.Scripting;
|
|
|
|
namespace UnityEngine
|
|
{
|
|
// Token: 0x02000038 RID: 56
|
|
internal sealed class DebugLogHandler : ILogHandler
|
|
{
|
|
// Token: 0x060003FF RID: 1023
|
|
[ThreadAndSerializationSafe]
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
internal static extern void Internal_Log(LogType level, string msg, [Writable] Object obj);
|
|
|
|
// Token: 0x06000400 RID: 1024
|
|
[ThreadAndSerializationSafe]
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
internal static extern void Internal_LogException(Exception exception, [Writable] Object obj);
|
|
|
|
// Token: 0x06000401 RID: 1025 RVA: 0x00006F94 File Offset: 0x00005194
|
|
public void LogFormat(LogType logType, Object context, string format, params object[] args)
|
|
{
|
|
DebugLogHandler.Internal_Log(logType, string.Format(format, args), context);
|
|
}
|
|
|
|
// Token: 0x06000402 RID: 1026 RVA: 0x00006FA8 File Offset: 0x000051A8
|
|
public void LogException(Exception exception, Object context)
|
|
{
|
|
DebugLogHandler.Internal_LogException(exception, context);
|
|
}
|
|
}
|
|
}
|