コード例 #1
0
        private static int GetLogMask(BluLogType type)
        {
            switch (type)
            {
            case BluLogType.Normal:
                return(1028);

            case BluLogType.Warning:
                return(4736);

            default:
                return(3148115);
            }
        }
コード例 #2
0
 public static void Log(string message, BluLogType type)
 {
     if (type == BluLogType.Normal)
     {
         Debug.Log(message);
     }
     else if (type == BluLogType.Warning)
     {
         Debug.LogWarning(message);
     }
     else if (type == BluLogType.Error)
     {
         Debug.LogError(message);
     }
 }
コード例 #3
0
        public static GUIStyle GetLogListStyle(BluLogType logType)
        {
            switch (logType)
            {
            case BluLogType.Normal:
                return(LogInfoStyle);

            case BluLogType.Warning:
                return(LogWarnStyle);

            case BluLogType.Error:
                return(LogErrorStyle);
            }
            return(LogInfoStyle);
        }
コード例 #4
0
        private Texture2D GetIconSmall(
            BluLogType logType)
        {
            switch (logType)
            {
            case BluLogType.Normal:
                return(BluConsoleSkin.InfoIconSmall);

            case BluLogType.Warning:
                return(BluConsoleSkin.WarningIconSmall);

            case BluLogType.Error:
                return(BluConsoleSkin.ErrorIconSmall);

            default:
                return(BluConsoleSkin.InfoIconSmall);
            }
        }
コード例 #5
0
        private GUIStyle GetLogListStyle(
            BluLog log)
        {
            BluLogType logType = GetLogType(log);

            switch (logType)
            {
            case BluLogType.Normal:
                return(BluConsoleSkin.LogInfoStyle);

            case BluLogType.Warning:
                return(BluConsoleSkin.LogWarnStyle);

            case BluLogType.Error:
                return(BluConsoleSkin.LogErrorStyle);
            }
            return(BluConsoleSkin.LogInfoStyle);
        }
コード例 #6
0
 public static void LogLevelFour(string message, BluLogType type = BluLogType.Normal)
 {
     TestManager.Log(message, type);
 }
コード例 #7
0
 public static void Loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooog(string message, BluLogType type = BluLogType.Normal)
 {
     Test5.Loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooog(message, type);
 }
コード例 #8
0
 public static void LogLevelFive(string message, BluLogType type = BluLogType.Normal)
 {
     Test5.LogLevelFive(message, type);
 }
コード例 #9
0
 public static void BigCallStack(string message, BluLogType type = BluLogType.Normal)
 {
     Loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooog(message, type);
 }
コード例 #10
0
 public static void LogLevelSix(string message, BluLogType type = BluLogType.Normal)
 {
     Test2.LogLevelSix(message, type);
 }