Package org.osgi.service.log
Interface Logger
-
@ProviderType public interface LoggerThis is a stripped down copy of the LogService 1.4 API (R7). It's trimmed down to the methods used by the optional support for R7 logging.
-
-
Field Summary
Fields Modifier and Type Field Description static StringROOT_LOGGER_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddebug(String message)voiddebug(String format, Object arg)voiderror(String message)voiderror(String format, Object arg)voidinfo(String message)voidinfo(String format, Object arg)booleanisDebugEnabled()booleanisErrorEnabled()booleanisInfoEnabled()booleanisWarnEnabled()voidwarn(String message)voidwarn(String format, Object arg)
-
-
-
Field Detail
-
ROOT_LOGGER_NAME
static final String ROOT_LOGGER_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
isDebugEnabled
boolean isDebugEnabled()
-
debug
void debug(String message)
-
isInfoEnabled
boolean isInfoEnabled()
-
info
void info(String message)
-
isWarnEnabled
boolean isWarnEnabled()
-
warn
void warn(String message)
-
isErrorEnabled
boolean isErrorEnabled()
-
error
void error(String message)
-
-