public class Slf4jLoggerFactory extends Object implements ILoggerFactory
Constructor and Description |
---|
Slf4jLoggerFactory() |
Modifier and Type | Method and Description |
---|---|
static void |
dispose()
Pax Logging internal method.
|
Logger |
getLogger(String name)
Return an appropriate
Logger instance as specified by the name parameter. |
static void |
release()
Releases any held resources and makes the class ready for garbage collection.
|
static void |
setBundleContext(org.osgi.framework.BundleContext context) |
public static void setBundleContext(org.osgi.framework.BundleContext context)
public static void release()
public Logger getLogger(String name)
Logger
instance as specified by the name
parameter.
Null-valued name arguments are considered invalid.
Certain extremely simple logging systems, e.g. NOP, may always return the same logger instance regardless of the requested name.
getLogger
in interface ILoggerFactory
name
- the name of the Logger to returnpublic static void dispose()
Copyright © 2018. All rights reserved.