Package org.rocksdb
Interface LoggerInterface
-
- All Known Implementing Classes:
Logger,StdErrLogger
public interface LoggerInterfaceLoggerInterface is a thin interface that specifies the most basic functionality for a Java wrapper around a RocksDB Logger.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LoggerTypegetLoggerType()Get the type of this logger.longgetNativeHandle()Get the underlying Native Handle.InfoLogLevelinfoLogLevel()Get the log levelvoidsetInfoLogLevel(InfoLogLevel logLevel)Set the log level.
-
-
-
Method Detail
-
setInfoLogLevel
void setInfoLogLevel(InfoLogLevel logLevel)
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.
-
-