Package de.mnl.osgi.lf4osgi.core
Class BufferedEvent
- java.lang.Object
-
- de.mnl.osgi.lf4osgi.core.BufferedEvent
-
public class BufferedEvent extends Object
Provides a container for the buffered event information.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
forward(LoggerFactory factory)
Forward the log event using the provided logger factory.
-
-
-
Constructor Detail
-
BufferedEvent
public BufferedEvent(Bundle bundle, String name, LogLevel level, String message, Object... arguments)
Instantiates a new buffered event.- Parameters:
bundle
- the bundlename
- the namelevel
- the levelmessage
- the messagearguments
- the parameters
-
BufferedEvent
public BufferedEvent(Bundle bundle, String name, LogLevel level, String message)
Instantiates a new buffered event.- Parameters:
bundle
- the bundlename
- the namelevel
- the levelmessage
- the message
-
-
Method Detail
-
forward
public void forward(LoggerFactory factory)
Forward the log event using the provided logger factory.- Parameters:
factory
- the factory
-
-