public class Factory extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DFLT_CFGFILE |
static String |
DFLT_LOGNAME |
static boolean |
sinkstdio |
Constructor and Description |
---|
Factory() |
Modifier and Type | Method and Description |
---|---|
static Logger |
getLogger() |
static Logger |
getLogger(Parameters params,
String name) |
static Logger |
getLogger(String name) |
static Logger |
getLogger(String cfgpath,
String name) |
static Logger |
getLogger(XmlConfig cfg,
String name) |
static Logger |
getLoggerNoEx(String name) |
protected static boolean |
removeMappedLogger(Logger log) |
public static final String DFLT_CFGFILE
public static final String DFLT_LOGNAME
public static final boolean sinkstdio
public static Logger getLogger() throws IOException
IOException
public static Logger getLogger(String name) throws IOException
IOException
public static Logger getLogger(String cfgpath, String name) throws IOException
IOException
public static Logger getLogger(XmlConfig cfg, String name) throws IOException
IOException
public static Logger getLogger(Parameters params, String name) throws IOException
IOException
protected static boolean removeMappedLogger(Logger log)
Copyright 2010-2018 Grey Software (Yusef Badri). All Rights Reserved.