org.ops4j.pax.logging
Interface PaxLoggingService

All Superinterfaces:
LogService
All Known Implementing Classes:
PaxLoggingServiceImpl

public interface PaxLoggingService
extends LogService


Field Summary
static java.lang.String APPENDER_NAME_PROPERTY
           
 
Fields inherited from interface org.osgi.service.log.LogService
LOG_DEBUG, LOG_ERROR, LOG_INFO, LOG_WARNING
 
Method Summary
 PaxLogger getLogger(org.osgi.framework.Bundle bundle, java.lang.String category, java.lang.String fqcn)
           
 int getLogLevel()
          * Get the current log level.
 PaxContext getPaxContext()
           
 
Methods inherited from interface org.osgi.service.log.LogService
log, log, log, log
 

Field Detail

APPENDER_NAME_PROPERTY

static final java.lang.String APPENDER_NAME_PROPERTY
See Also:
Constant Field Values
Method Detail

getLogger

PaxLogger getLogger(org.osgi.framework.Bundle bundle,
                    java.lang.String category,
                    java.lang.String fqcn)

getLogLevel

int getLogLevel()
Description copied from interface: LogService
* Get the current log level. The log will discard log entires * with a level that is less severe than the current level. * * E.g. If the current log level is LOG_WARNING then the log will * discard all log entries with level LOG_INFO and LOG_DEBUG. I.e. * there is no need for a bundle to try to send such log entries * to the log. The bundle may actually save a number of CPU-cycles * by getting the log level and do nothing if the intended log * entry is less severe than the current log level. * *

Returns:
the lowest severity level that is accepted into the * log.

getPaxContext

PaxContext getPaxContext()


Copyright © 2006-2011 OPS4J - Open Participation Software for Java. All Rights Reserved.