|
Service Activator Toolkit
Version 1.1.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LogReaderAggregatorService
The LogReaderAggregatorService provides a single point at which
to add a LogListener that will be notified of messages logged
to every registered LogService. The service is helpful in that
it removes the responsibility of listening to multiple instances of the
LogReaderService.
While the listener will be notified of each logged message, it will be
unaware of the LogService to which the message was logged, and
of the LogReaderService from which the message was read.
| Field Summary | |
|---|---|
static String |
LOGGING_TO_CONSOLE_PROPERTY
|
static String |
SERVICE_NAME
|
| Method Summary | |
|---|---|
Enumeration |
getLogInOrder()
Get the contents of the log in the order in the log entries were written. |
boolean |
isLoggingToConsole()
Query whether logging to the console is enabled. |
void |
setLogToConsole(boolean logToConsole)
Control whether logging to the console is enabled. |
| Methods inherited from interface org.osgi.service.log.LogReaderService |
|---|
addLogListener, getLog, removeLogListener |
| Field Detail |
|---|
static final String LOGGING_TO_CONSOLE_PROPERTY
static final String SERVICE_NAME
| Method Detail |
|---|
Enumeration getLogInOrder()
LogReaderService method
getLog().
Enumeration of LogEntry objects.boolean isLoggingToConsole()
void setLogToConsole(boolean logToConsole)
logToConsole - A parameter of true will enable logging to the
console, while a parameter of false will disable
logging to the console.
|
Service Activator Toolkit
Version 1.1.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2001, 2008 IBM Corporation and others. All Rights Reserved.