Abstract (static) class to log messages both to the program and to the console.
More...
|
static void | Information (String m_message) |
| Logs an informative message to the disk, as well as the console and GUI.
|
|
static void | ConsoleInformation (String m_message) |
| Logs an informative message to the disk, as well as the console.
|
|
static void | Warning (String m_message) |
| Logs a warning message to the disk, as well as the console and GUI.
|
|
static void | ConsoleWarning (String m_message) |
| Logs a warning message to the disk, as well as the console.
|
|
static void | Error (String m_message) |
| Logs an error message to the disk, as well as the console and GUI.
|
|
static void | ConsoleError (String m_message) |
| Logs an error message to the disk, as well as the console.
|
|
|
static String | getLocalTime () |
| Utility function to fetch the local time in a preferred format.
|
|
static void | logMessage (String message) |
| Logs a message to the log file.
|
|
Abstract (static) class to log messages both to the program and to the console.
◆ ConsoleError()
static void net.samuelcmace.utk.logic.Logger.ConsoleError |
( |
String |
m_message | ) |
|
|
static |
Logs an error message to the disk, as well as the console.
- Parameters
-
m_message | The message to be logged. |
◆ ConsoleInformation()
static void net.samuelcmace.utk.logic.Logger.ConsoleInformation |
( |
String |
m_message | ) |
|
|
static |
Logs an informative message to the disk, as well as the console.
- Parameters
-
m_message | The message to be logged. |
◆ ConsoleWarning()
static void net.samuelcmace.utk.logic.Logger.ConsoleWarning |
( |
String |
m_message | ) |
|
|
static |
Logs a warning message to the disk, as well as the console.
- Parameters
-
m_message | The message to be logged. |
◆ Error()
static void net.samuelcmace.utk.logic.Logger.Error |
( |
String |
m_message | ) |
|
|
static |
Logs an error message to the disk, as well as the console and GUI.
- Parameters
-
m_message | The message to be logged. |
◆ getLocalTime()
static String net.samuelcmace.utk.logic.Logger.getLocalTime |
( |
| ) |
|
|
staticprivate |
Utility function to fetch the local time in a preferred format.
- Returns
- The time (including the date and time of day).
◆ Information()
static void net.samuelcmace.utk.logic.Logger.Information |
( |
String |
m_message | ) |
|
|
static |
Logs an informative message to the disk, as well as the console and GUI.
- Parameters
-
m_message | The message to be logged. |
◆ logMessage()
static void net.samuelcmace.utk.logic.Logger.logMessage |
( |
String |
message | ) |
|
|
staticprivate |
Logs a message to the log file.
- Parameters
-
message | The message to be logged to the log file. |
◆ Warning()
static void net.samuelcmace.utk.logic.Logger.Warning |
( |
String |
m_message | ) |
|
|
static |
Logs a warning message to the disk, as well as the console and GUI.
- Parameters
-
m_message | The message to be logged. |
The documentation for this class was generated from the following file:
- /github/workspace/src/main/java/net/samuelcmace/utk/logic/Logger.java