public class SLF4JLogFactory extends Object implements LocationAwareLogFactory
Modifier and Type | Field and Description |
---|---|
static String |
SETTING_ERROR_EVENT_CATEGORY
Log category for error events.
|
static String |
SETTING_EVENT_CATEGORY
Log category for events.
|
static String |
SETTING_INMSG_CATEGORY
Log category for incoming messages.
|
static String |
SETTING_LOG_HEARTBEATS
Controls logging of heartbeats (Y or N)
|
static String |
SETTING_OUTMSG_CATEGORY
Log category for outgoing messages.
|
static String |
SETTING_PREPEND_SESSION_ID
Flag for prepending session ID to log output
|
Constructor and Description |
---|
SLF4JLogFactory(SessionSettings settings) |
Modifier and Type | Method and Description |
---|---|
Log |
create(SessionID sessionID)
Create a log implementation.
|
Log |
create(SessionID sessionID,
String callerFQCN)
This supports use of this log in a CompositeLogFactory.
|
public static final String SETTING_EVENT_CATEGORY
public static final String SETTING_ERROR_EVENT_CATEGORY
public static final String SETTING_INMSG_CATEGORY
public static final String SETTING_OUTMSG_CATEGORY
public static final String SETTING_PREPEND_SESSION_ID
public static final String SETTING_LOG_HEARTBEATS
public SLF4JLogFactory(SessionSettings settings)
public Log create(SessionID sessionID)
LogFactory
create
in interface LogFactory
sessionID
- session ID usually used for configuration accesspublic Log create(SessionID sessionID, String callerFQCN)
create
in interface LocationAwareLogFactory
sessionID
- session ID usually used for configuration accesscallerFQCN
- fully-qualified class name of the parent logger
in case we are being constructed as part of a composite loggerCopyright © 2021. All rights reserved.