Package org.eclipse.equinox.log
Interface ExtendedLogService
- All Superinterfaces:
- Logger,- Logger,- LoggerFactory,- LogService
Extends the OSGi 
Log Service to support the use of named loggers that provide
 some additional context when logging.- Since:
- 3.7
- See Also:
- Restriction:
- This interface is not intended to be implemented by clients.
- Thread Safe:
- 
Field SummaryFields inherited from interface org.osgi.service.log.LoggerROOT_LOGGER_NAMEFields inherited from interface org.osgi.service.log.LogServiceLOG_DEBUG, LOG_ERROR, LOG_INFO, LOG_WARNING
- 
Method SummaryMethods inherited from interface org.eclipse.equinox.log.LoggergetName, isLoggable, log, log, log, log, log, logMethods inherited from interface org.osgi.service.log.Loggeraudit, audit, audit, audit, debug, debug, debug, debug, debug, error, error, error, error, error, info, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, trace, trace, trace, trace, trace, warn, warn, warn, warn, warnMethods inherited from interface org.osgi.service.log.LoggerFactorygetLogger, getLogger, getLogger, getLoggerMethods inherited from interface org.osgi.service.log.LogServicelog, log, log, log
- 
Method Details- 
getLoggerReturns theLoggerobject associated with this logger name for the bundle that retrieved this log service. If loggerName is null the defaultLoggerfor this bundle is returned.- Specified by:
- getLoggerin interface- LoggerFactory
- Parameters:
- loggerName- The logger name.
- Returns:
- Loggerassociated with the logger name.
 
- 
getLoggerReturns the logger associated with this logger name and bundle.- Parameters:
- bundle- The bundles associated with this logger. If null the bundle that retrieved this log service is used.
- loggerName- The logger name.
- Returns:
- Loggerassociated with the logger name.
- Throws:
- SecurityException- if the caller does not have- LogPermission[*,LOG].
 
 
-