public final class Logger
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
logMsg(java.lang.Object... msg)
Writes the specified message(s) with the calling classes name as prefix (see
buildPrefix(String) ) using System.out.println
to console and to the log file (log file output not yet implemented!). |
static void |
logWarning(java.lang.Object... msg)
Writes the specified message(s) with the calling classes name as prefix (see
buildPrefix(String) ) using System.err.println
to console and with the prefix ERROR: to the log file (log file output not yet implemented!). |
static void |
saveLogFile()
Writes all messages that have been logged since last calling this method to
LOG_FILE and adds information about the date and used
version of Equilinox and the Equilinox Mod Kit if it's the first time this method gets called during this boot. |
public static void logMsg(java.lang.Object... msg)
buildPrefix(String)
) using System.out.println
to console and to the log file (log file output not yet implemented!).msg
- Message(s) to be loggedpublic static void logWarning(java.lang.Object... msg)
buildPrefix(String)
) using System.err.println
to console and with the prefix ERROR:
to the log file (log file output not yet implemented!).msg
- Message(s) to be loggedpublic static void saveLogFile()
LOG_FILE
and adds information about the date and used
version of Equilinox and the Equilinox Mod Kit if it's the first time this method gets called during this boot.