Package com.github.tadukoo.util.logger
Class EasyLogger
java.lang.Object
com.github.tadukoo.util.logger.EasyLogger
EasyLogger is a wrapper around
Logger that provides methods to simplify logging operations- Version:
- Alpha v.0.2
- Author:
- Logan Ferree (Tadukoo)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidlogDebugFine(String debug) Logs the given debug message to theLoggeratLevel.FINEvoidlogDebugFine(String debug, Throwable t) voidvoidlogDebugFiner(String debug) Logs the given debug message to theLoggeratLevel.FINERvoidlogDebugFiner(String debug, Throwable t) voidvoidlogDebugFinest(String debug) Logs the given debug message to theLoggeratLevel.FINESTvoidlogDebugFinest(String debug, Throwable t) voidvoidvoidvoidvoidvoidvoidvoidlogWarning(String warning) voidlogWarning(String warning, Throwable t) void
-
Field Details
-
logger
TheLoggerwrapped in this EasyLogger
-
-
Constructor Details
-
Method Details
-
getLogger
- Returns:
- The
Loggerwrapped in this class if you want to call other methods
-
logInfo
- Parameters:
info- The message to be logged
-
logInfo
Logs the givenThrowableto theLogger. UsesThrowable.getMessage()as the message on the log entry. This entry is logged asinfo- Parameters:
t- TheThrowableto be logged
-
logInfo
- Parameters:
info- The message to be loggedt- TheThrowableto be logged
-
logWarning
- Parameters:
warning- The message to be logged
-
logWarning
Logs the givenThrowableto theLogger. UsesThrowable.getMessage()as the message on the log entry. This entry is logged as awarning- Parameters:
t- TheThrowableto be logged
-
logWarning
- Parameters:
warning- The message to be loggedt- TheThrowableto be logged
-
logError
- Parameters:
error- The message to be logged
-
logError
Logs the givenThrowableto theLogger. UsesThrowable.getMessage()as the message on the log entry. This entry is logged as anerror- Parameters:
t- TheThrowableto be logged
-
logError
- Parameters:
error- The message to be loggedt- TheThrowableto be logged
-
logConfig
- Parameters:
config- The message to be logged
-
logConfig
Logs the givenThrowableto theLogger. UsesThrowable.getMessage()as the message on the log entry. This entry is logged as aconfigmessage- Parameters:
t- TheThrowableto be logged
-
logConfig
- Parameters:
config- The message to be loggedt- TheThrowableto be logged
-
logDebugFine
Logs the given debug message to theLoggeratLevel.FINE- Parameters:
debug- The message to be logged
-
logDebugFine
Logs the givenThrowableto theLogger. UsesThrowable.getMessage()as the message on the log entry. This entry is logged atLevel.FINE- Parameters:
t- TheThrowableto be logged
-
logDebugFine
- Parameters:
debug- The message to be loggedt- TheThrowableto be logged
-
logDebugFiner
Logs the given debug message to theLoggeratLevel.FINER- Parameters:
debug- The message to be logged
-
logDebugFiner
Logs the givenThrowableto theLogger. UsesThrowable.getMessage()as the message on the log entry. This entry is logged atLevel.FINER- Parameters:
t- TheThrowableto be logged
-
logDebugFiner
- Parameters:
debug- The message to be loggedt- TheThrowableto be logged
-
logDebugFinest
Logs the given debug message to theLoggeratLevel.FINEST- Parameters:
debug- The message to be logged
-
logDebugFinest
Logs the givenThrowableto theLogger. UsesThrowable.getMessage()as the message on the log entry. This entry is logged atLevel.FINEST- Parameters:
t- TheThrowableto be logged
-
logDebugFinest
- Parameters:
debug- The message to be loggedt- TheThrowableto be logged
-