Package org.rocksdb
Interface LoggerInterface
- All Known Implementing Classes:
Logger,StdErrLogger
public interface LoggerInterface
LoggerInterface is a thin interface that specifies the most basic
functionality for a Java wrapper around a RocksDB Logger.
-
Method Summary
Modifier and TypeMethodDescriptionGet the type of this logger.longGet the underlying Native Handle.Get the log levelvoidsetInfoLogLevel(InfoLogLevel logLevel) Set the log level.
-
Method Details
-
setInfoLogLevel
Set the log level.- Parameters:
logLevel- the level at which to log.
-
infoLogLevel
InfoLogLevel infoLogLevel()Get the log level- Returns:
- the level at which to log.
-
getNativeHandle
long getNativeHandle()Get the underlying Native Handle.- Returns:
- the native handle.
-
getLoggerType
LoggerType getLoggerType()Get the type of this logger.- Returns:
- the type of this logger.
-