Package com.thebuzzmedia.exiftool.logs
Interface Logger
public interface Logger
Logger interface.
Appropriate implementation will be used to log exiftool outputs.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Display debug information to the console.void
Display debug information to the console.void
Display debug information to the console.void
Display error information to the console.void
Display error information to the console.void
Display error information to the console.void
Log exception stack trace as error Level.void
Display information to the console.void
Display information to the console.void
Display information to the console.boolean
Check if debug level is enabled for this logger.void
Display trace to the console.void
Display trace to the console.void
Display trace to the console.void
Display warning information to the console.void
Display warning information to the console.void
Display warning information to the console.void
Display warning information to the console.
-
Method Details
-
trace
Display trace to the console. Message will be displayed if and only trace level is enabled.- Parameters:
message
- Message to display.
-
trace
Display trace to the console. Message will be displayed if and only trace level is enabled.- Parameters:
message
- Message to display.p1
- Message parameter.
-
trace
Display trace to the console. Message will be displayed if and only trace level is enabled.- Parameters:
message
- Message to display.p1
- First message parameter.p2
- Second message parameter.
-
info
Display information to the console. Message will be displayed if and only information level is enabled.- Parameters:
message
- Message to display.
-
info
Display information to the console. Message will be displayed if and only information level is enabled.- Parameters:
message
- Message to display.p1
- First message parameter.
-
info
Display information to the console. Message will be displayed if and only information level is enabled.- Parameters:
message
- Message to display.p1
- First message parameter.p2
- Second message parameter.
-
debug
Display debug information to the console. Message will be displayed if and only debug level is enabled.- Parameters:
message
- Message to display.
-
debug
Display debug information to the console. Message will be displayed if and only debug level is enabled.- Parameters:
message
- Message to display.p1
- Optional message parameter.
-
debug
Display debug information to the console. Message will be displayed if and only debug level is enabled.- Parameters:
message
- Message to display.p1
- Optional (first) message parameter.p2
- Optional (second) message parameter.
-
warn
Display warning information to the console. Message will be displayed if and only warn level is enabled.- Parameters:
message
- Message to display.
-
warn
Display warning information to the console. Message will be displayed if and only warn level is enabled.- Parameters:
message
- Message to display.ex
- The exception to log.
-
warn
Display warning information to the console. Message will be displayed if and only warn level is enabled.- Parameters:
message
- Message to display.p1
- First message parameter.
-
warn
Display warning information to the console. Message will be displayed if and only warn level is enabled.- Parameters:
message
- Message to display.p1
- First message parameter.p2
- Second message parameter.
-
error
Display error information to the console. Message will be displayed if and only error level is enabled.- Parameters:
message
- Message to display.
-
error
Display error information to the console. Message will be displayed if and only error level is enabled.- Parameters:
message
- Message to display.p1
- First message parameter.
-
error
Display error information to the console. Message will be displayed if and only error level is enabled.- Parameters:
message
- Message to display.p1
- First message parameter.p2
- Second message parameter.
-
error
Log exception stack trace as error Level.- Parameters:
message
- Error message.ex
- Thrown exception.
-
isDebugEnabled
boolean isDebugEnabled()Check if debug level is enabled for this logger.- Returns:
true
if debug level is enabled,false
otherwise.
-