Package org.jmol.util
Interface LoggerInterface
- All Known Implementing Classes:
DefaultLogger
public interface LoggerInterface
Interface used for the logging mechanism.
-
Method Summary
Modifier and TypeMethodDescriptionvoidWrites a log at DEBUG level.voidWrites a log at ERROR level.voidWrites a log at ERROR level with detail on exception.voidWrites a log at FATAL level.voidWrites a log at ERROR level with detail on exception.voidWrites a log at INFO level.voidWrites a log at WARN level.voidWrites a log at WARN level with detail on exception.
-
Method Details
-
debug
Writes a log at DEBUG level.- Parameters:
txt- String to write.
-
info
Writes a log at INFO level.- Parameters:
txt- String to write.
-
warn
Writes a log at WARN level.- Parameters:
txt- String to write.
-
warnEx
Writes a log at WARN level with detail on exception.- Parameters:
txt- String to write.e- Exception.
-
error
Writes a log at ERROR level.- Parameters:
txt- String to write.
-
errorEx
Writes a log at ERROR level with detail on exception.- Parameters:
txt- String to write.e- Exception.
-
fatal
Writes a log at FATAL level.- Parameters:
txt- String to write.
-
fatalEx
Writes a log at ERROR level with detail on exception.- Parameters:
txt- String to write.e- Exception.
-