예제 #1
0
 /// <summary>
 /// Write a log message.
 /// </summary>
 /// <param name="level">The log level.</param>
 /// <param name="tag">The message tag.</param>
 /// <param name="message">The message text.</param>
 public static void write(LogLevel level, LogTag tag, string message, bool showInConsole)
 {
     write(level, tag.Value, message, showInConsole);
 }
예제 #2
0
 /// <summary>
 /// A log message at the warning level.
 /// </summary>
 /// <param name="tag">The message tag.</param>
 /// <param name="message">The message text.</param>
 public static void w(LogTag tag, string message, bool showInConsole = true)
 {
     write(LogLevel.Warning, tag, message, showInConsole);
 }
예제 #3
0
 /// <summary>
 /// A log message at the verbose level.
 /// </summary>
 /// <param name="tag">The message tag.</param>
 /// <param name="message">The message text.</param>
 public static void v(LogTag tag, string message, bool showInConsole = true)
 {
     write(LogLevel.Verbose, tag, message, showInConsole);
 }
예제 #4
0
 /// <summary>
 /// A log message at the assertion level.
 /// </summary>
 /// <param name="tag">The message tag.</param>
 /// <param name="message">The message text.</param>
 public static void a(LogTag tag, string message, bool showInConsole = true)
 {
     write(LogLevel.Assert, tag, message, showInConsole);
     ApplicationManager.quit();
 }