public class SFLoggerFactory extends Object
Created by hyu on 11/17/16.
Constructor and Description |
---|
SFLoggerFactory() |
Modifier and Type | Method and Description |
---|---|
static SFLogger |
getLogger(Class<?> clazz) |
static SFLogger |
getLogger(String name)
A replacement for getLogger function, whose parameter is Class<?>, when Class<?> is
inaccessible.
|
public static SFLogger getLogger(Class<?> clazz)
clazz
- Class type that the logger is instantiatedpublic static SFLogger getLogger(String name)
name
- name to indicate the class (might be different with the class name) that the logger
is instantiatedCopyright © 2022. All rights reserved.