Class ReportLogger
- java.lang.Object
-
- java.util.logging.Handler
-
- cz.cvut.fel.sit.omo.foodchain.util.ReportLogger
-
public class ReportLogger extends java.util.logging.HandlerCustom Logger used for TransactionReport
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.StringBuildersb
-
Constructor Summary
Constructors Constructor Description ReportLogger()
-
-
-
Method Detail
-
publish
public void publish(java.util.logging.LogRecord record)
Logs message and prints it out.- Specified by:
publishin classjava.util.logging.Handler- Parameters:
record- message to be printed
-
flush
public void flush()
- Specified by:
flushin classjava.util.logging.Handler
-
close
public void close() throws java.lang.SecurityException- Specified by:
closein classjava.util.logging.Handler- Throws:
java.lang.SecurityException
-
getSb
public static java.lang.StringBuilder getSb()
-
-