Interface Logger
-
- All Known Implementing Classes:
BndLogger,MavenLogger
public interface LoggerGeneric interface for logging various messages.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiderror(@NotNull String message)Log an error message.voiderror(@NotNull String message, @NotNull Throwable t)Log an error message, together with theThrowablethat caused it.voidinfo(@NotNull String message)Log an info message.voidwarn(@NotNull String message)Log a warning message.voidwarn(@NotNull String message, Throwable t)Log a warning message, together with theThrowablethat caused it.
-
-
-
Method Detail
-
error
void error(@NotNull @NotNull String message)Log an error message.- Parameters:
message- the message
-
error
void error(@NotNull @NotNull String message, @NotNull @NotNull Throwable t)Log an error message, together with theThrowablethat caused it.- Parameters:
message- the messaget- the throwable that caused this error message
-
info
void info(@NotNull @NotNull String message)Log an info message.- Parameters:
message- the messae
-
warn
void warn(@NotNull @NotNull String message)Log a warning message.- Parameters:
message- the message
-
-