Inheritance: ILogHandler
コード例 #1
0
        public void LogException(Exception exception, Object context)
        {
            bool flag = exception == null;

            if (flag)
            {
                throw new ArgumentNullException("exception");
            }
            DebugLogHandler.Internal_LogException(exception, context);
        }
コード例 #2
0
        public static void LogFormat(LogType logType, LogOption logOptions, Object context, string format, params object[] args)
        {
            DebugLogHandler debugLogHandler = Debug.unityLogger.logHandler as DebugLogHandler;
            bool            flag            = debugLogHandler == null;

            if (flag)
            {
                Debug.unityLogger.LogFormat(logType, context, format, args);
            }
            else
            {
                debugLogHandler.LogFormat(logType, logOptions, context, format, args);
            }
        }
コード例 #3
0
 public void LogException(Exception exception, Object context)
 {
     DebugLogHandler.Internal_LogException(exception, context);
 }
コード例 #4
0
 public void LogFormat(LogType logType, Object context, string format, params object[] args)
 {
     DebugLogHandler.Internal_Log(logType, string.Format(format, args), context);
 }