public final class LogMaster extends Object
Logging level is set to info by default in embedded logback.xml You can
change that by using the following command-line property to Java:
java -Dlogback.configurationFile=/path/to/config.xml ...
Modifier and Type | Method and Description |
---|---|
static org.slf4j.Logger |
getLogger(String name)
Provides a logger.
|
static org.apache.commons.logging.Log |
giveLogger(String name)
Deprecated.
@see {
getLogger(String) |
static String |
setLevel(String myLevel)
Deprecated.
|
static String |
setlogger(String mylogger)
Deprecated.
|
public static String setLevel(String myLevel)
myLevel
- debug, error...public static String setlogger(String mylogger)
mylogger
- the class to loggerpublic static org.apache.commons.logging.Log giveLogger(String name)
getLogger(String)
name
- The logger name identificationLog
public static org.slf4j.Logger getLogger(String name)
Provides a logger. Logging level is set to info by default.
TRACE lt DEBUG lt INFO lt WARN lt ERROR
name
- The logger name identificationLogger
Copyright © 2009–2016 Univ. Paris Ouest, and Univ. Pierre et Marie Curie / CNRS UMR 7606 (LIP6). All rights reserved.