Package ru.dest.library.loging
Interface ILogger
-
- All Known Implementing Classes:
ConsoleLogger,LoggingLoggerWrap
public interface ILogger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiderror(@NotNull Exception e)Print errorvoiderror(Exception @NotNull ... ex)Print error messagesvoidinfo(String msg)Print info messagevoidinfo(String @NotNull ... msg)Print info messagesvoidsetPrintErrorStacktrace(boolean printErrorStacktrace)voidwarning(String msg)Print warning messagevoidwarning(String @NotNull ... msg)Print warning messages
-
-
-
Method Detail
-
info
void info(String msg)
Print info message- Parameters:
msg- - message
-
warning
void warning(String msg)
Print warning message- Parameters:
msg- - message
-
error
void error(@NotNull @NotNull Exception e)Print error- Parameters:
e- - exception
-
info
void info(String @NotNull ... msg)
Print info messages- Parameters:
msg- - message
-
warning
void warning(String @NotNull ... msg)
Print warning messages- Parameters:
msg- - message
-
error
void error(Exception @NotNull ... ex)
Print error messages- Parameters:
ex- - exceptions
-
setPrintErrorStacktrace
void setPrintErrorStacktrace(boolean printErrorStacktrace)
-
-