Class and Description |
---|
org.sormula.log.ClassLogger
Sormula no longer uses this class since version 4.3
A delegate for SLF4J logger that uses the import org.slf4j.LoggerFactory to create a logger based upon the class name that created ClassLogger. Use no-argument constructor to create a logger for your class. To use this class, create an new instance and then invoke the log methods. package com.mycompany.something; public class MyClass { final static ClassLogger log = new ClassLogger(); . . . public void SomeMethod() { log.info("hello, world"); } }Log messages from MyClass will be logged with logical log name of com.mycompany.something.MyClass If no SLF4J jars are on the classpath, then no exceptions are thrown and no logging will occur. |