Package com.apogee.dev.DuoVaders
Class Log
java.lang.Object
com.apogee.dev.DuoVaders.Log
Utility class for logging info on console.
Implements the Android-like Log command.
- Version:
- 1.0
- Author:
- PRV
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidLog a concise debug messagestatic voidLog a labelled debug messagestatic voidLog a detailed debug messagestatic voidLog a concise error messagestatic voidLog a labelled error messagestatic voidLog a detailed error messagestatic voidLog a concise info messagestatic voidLog a labelled info messagestatic voidLog a detailed info messagestatic voidmain()Constructor of the Log class.
-
Field Details
-
BLUE
- See Also:
-
RED
- See Also:
-
GREEN
- See Also:
-
RESET
- See Also:
-
-
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
Log a detailed error message- Parameters:
tag- The tag to use for the log message. Can be nullmsg- The message to logtr- An exception to log. Can be null
-
e
Log a labelled error message- Parameters:
tag-msg-
-
e
Log a concise error message- Parameters:
msg-
-
i
Log a detailed info message- Parameters:
tag- The tag to use for the log message. Can be nullmsg- The message to logtr- An exception to log. Can be null
-
i
Log a labelled info message- Parameters:
tag- The tag to use for the log message. Can be nullmsg- The message to log
-
i
Log a concise info message- Parameters:
msg- The message to log
-
d
Log a detailed debug message- Parameters:
tag- The tag to use for the log message. Can be nullmsg- The message to logtr- An exception to log. Can be null
-
d
Log a labelled debug message- Parameters:
tag- The tag to use for the log message. Can be nullmsg- The message to log
-
d
Log a concise debug message- Parameters:
msg- The message to log
-