Interface PLogger
- All Known Implementing Classes:
PLog
public interface PLogger
Interface for a simple logger with multiple log levels.
-
Method Summary
Modifier and TypeMethodDescriptionvoidLogs a debug-level message.voidLogs an error-level message.voidLogs an error-level message along with a Throwable.getName()Returns the name of this logger, typically representing the source or context of the log messages.voidLogs an info-level msg.voidLogs a warning-level message.
-
Method Details
-
getName
String getName()Returns the name of this logger, typically representing the source or context of the log messages.- Returns:
- the logger name
-
debug
-
info
-
warn
-
error
Logs an error-level message. Indicates a failure.- Parameters:
msg- the message to log
-
error
-