Package org.osgi.service.log
Interface Logger
-
@ProviderType public interface Logger
This 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 String
ROOT_LOGGER_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
debug(String message)
void
debug(String format, Object arg)
void
error(String message)
void
error(String format, Object arg)
void
info(String message)
void
info(String format, Object arg)
boolean
isDebugEnabled()
boolean
isErrorEnabled()
boolean
isInfoEnabled()
boolean
isWarnEnabled()
void
warn(String message)
void
warn(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)
-
-