public class BLoggerFactory extends Object
You should get an instance by calling
public class MyClass {
private static final BLogger LOG = BLoggerFactory.getLogger(MyClass.class);
{...}
}
You can alternatively give your log an arbitrary name
public class MyClass {
private static final BLogger LOG = BLoggerFactory.getLogger("MyCoolLogger");
{...}
}
If you would like to log to general application log use
public class MyClass {
private static final BLogger LOG = BLoggerFactory.getLogger();
{...}
}
| Constructor and Description |
|---|
BLoggerFactory() |
public static final BLogger getLogger(Class<?> clazz)
clazz - the class of the logBLoggerFactorypublic static final BLogger getLogger(String name)
name - the name of the logBLoggerFactoryCopyright © 2012-2013 Batoo. All Rights Reserved.