public class SnowLoggerFactory extends Object
Modifier and Type | Method and Description |
---|---|
static org.slf4j.Logger |
getLogger(Class logClass)
Return a logger named corresponding to the class passed as a parameter.
|
static org.slf4j.Logger |
getLogger(String string)
Return a logger named according to the
name parameter. |
static void |
setOverrideLoggingForCurrentThread(boolean override)
This method causes the current thread to log all messages at the highest priority rather than their original
assigned priority.
|
public static void setOverrideLoggingForCurrentThread(boolean override)
override
- true to log all messages in this thread at the highest priority; false to use their default
prioritypublic static org.slf4j.Logger getLogger(String string)
name
parameter.string
- the name of the loggerpublic static org.slf4j.Logger getLogger(Class logClass)
logClass
- the returned logger will be named after this classCopyright © 2020 Snowbound Software Corporation. All rights reserved.