Package org.seppiko.commons.logging
Interface AbstractLoggingExtended
public interface AbstractLoggingExtended
Abstract Logging Extended interface
- Author:
- Leonard Woo
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisEnable(int level) Checks whether this Logger is enabled for the given Level.voidlog(int level, CharSequence message) Logs a message with the specific Marker at the given level.voidlog(int level, CharSequence message, Throwable cause) Logs a message with the specific Marker at the given level.
-
Method Details
-
isEnable
boolean isEnable(int level) Checks whether this Logger is enabled for the given Level.- Parameters:
level- the Level to check- Returns:
- boolean -
trueif this Logger is enabled for level,falseotherwise.
-
log
Logs a message with the specific Marker at the given level.- Parameters:
level- the logging levelmessage- the message string to be logged
-
log
Logs a message with the specific Marker at the given level.- Parameters:
level- the logging levelmessage- the message string to be loggedcause- A Throwable or null.
-