public class LogFactory extends Object
org.apache.commons.logging.LogFactory
for backwards compatibility.Modifier and Type | Class and Description |
---|---|
static class |
LogFactory.Level |
Constructor and Description |
---|
LogFactory() |
Modifier and Type | Method and Description |
---|---|
static LogFactory.Level |
getLevel() |
static Log |
getLog(Class clazz)
Get the logger for the clazz
|
static Log |
getLog(String logTag)
Get the logger for the string tag
|
static void |
setLevel(LogFactory.Level level) |
public static Log getLog(Class clazz)
clazz
- the class objectpublic static Log getLog(String logTag)
logTag
- the string tagpublic static void setLevel(LogFactory.Level level)
public static LogFactory.Level getLevel()
Copyright © 2019. All rights reserved.