Package org.fedoraproject.xmvn.logging
Interface Logger
public interface Logger
Represents a logging interface for capturing application events at various levels.
Provides methods for logging messages at different severity levels, including debug, info, warning, and error.
- Author:
- Mikolaj Izdebski
-
Method Summary
Modifier and TypeMethodDescriptionvoidLogs a debug-level message.voidLogs an error message.voidLogs an informational message.booleanChecks whether debug logging is enabled.voidLogs a warning message.
-
Method Details
-
isDebugEnabled
boolean isDebugEnabled()Checks whether debug logging is enabled.- Returns:
trueif debug logging is enabled,falseotherwise
-
debug
Logs a debug-level message.The format string follows the SLF4J format, where '{}' is used as a placeholder for arguments.
- Parameters:
format- the SLF4J format stringargs- the arguments referenced by the format specifiers in the format string
-
info
Logs an informational message.The format string follows the SLF4J format, where '{}' is used as a placeholder for arguments.
- Parameters:
format- the SLF4J format stringargs- the arguments referenced by the format specifiers in the format string
-
warn
Logs a warning message.The format string follows the SLF4J format, where '{}' is used as a placeholder for arguments.
- Parameters:
format- the SLF4J format stringargs- the arguments referenced by the format specifiers in the format string
-
error
Logs an error message.The format string follows the SLF4J format, where '{}' is used as a placeholder for arguments.
- Parameters:
format- the SLF4J format stringargs- the arguments referenced by the format specifiers in the format string
-