Package org.zeroturnaround.javarebel
Class LoggerFactory
- java.lang.Object
-
- org.zeroturnaround.javarebel.LoggerFactory
-
public class LoggerFactory extends Object
A factory forLoggerthat resolves a suitable implementation. As a rule plugin developers should usegetLogger(String)method to get logger instance. This will ensure that messages logged by the plugin are distinguishable from other log messages. UsegetInstance()method only if you know exactly what you are doing.- Author:
- Jevgeni Kabanov (ekabanov@zeroturnaround.com), Aleksei Sosnovski
-
-
Constructor Summary
Constructors Constructor Description LoggerFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LoggergetInstance()static LoggergetLogger(String prefix)Utility method, works same asgetInstance().productPrefix(prefix)
-