Class Log

java.lang.Object
com.apogee.dev.DuoVaders.Log

public class Log extends Object
Utility class for logging info on console. Implements the Android-like Log command.
Version:
1.0
Author:
PRV
See Also:
  • Field Details

  • Constructor Details

    • Log

      public Log()
  • Method Details

    • main

      public static void main()
      Constructor of the Log class. This class is not meant to be instantiated.
    • e

      public static void e(String tag, String msg, Throwable tr)
      Log a detailed error message
      Parameters:
      tag - The tag to use for the log message. Can be null
      msg - The message to log
      tr - An exception to log. Can be null
    • e

      public static void e(String tag, String msg)
      Log a labelled error message
      Parameters:
      tag -
      msg -
    • e

      public static void e(String msg)
      Log a concise error message
      Parameters:
      msg -
    • i

      public static void i(String tag, String msg, Throwable tr)
      Log a detailed info message
      Parameters:
      tag - The tag to use for the log message. Can be null
      msg - The message to log
      tr - An exception to log. Can be null
    • i

      public static void i(String tag, String msg)
      Log a labelled info message
      Parameters:
      tag - The tag to use for the log message. Can be null
      msg - The message to log
    • i

      public static void i(String msg)
      Log a concise info message
      Parameters:
      msg - The message to log
    • d

      public static void d(String tag, String msg, Throwable tr)
      Log a detailed debug message
      Parameters:
      tag - The tag to use for the log message. Can be null
      msg - The message to log
      tr - An exception to log. Can be null
    • d

      public static void d(String tag, String msg)
      Log a labelled debug message
      Parameters:
      tag - The tag to use for the log message. Can be null
      msg - The message to log
    • d

      public static void d(String msg)
      Log a concise debug message
      Parameters:
      msg - The message to log