Added logging framework
This commit is contained in:
parent
7bad0e2c18
commit
7290dba23a
4 changed files with 249 additions and 29 deletions
15
src/zutil/log/LogFormatter.java
Normal file
15
src/zutil/log/LogFormatter.java
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
package zutil.log;
|
||||
|
||||
import java.util.logging.Level;
|
||||
|
||||
public interface LogFormatter {
|
||||
|
||||
/**
|
||||
* This method formats a log message in a specific way
|
||||
*
|
||||
* @param source is the class that sent the log
|
||||
* @param level is the severity of the log message
|
||||
* @param msg is the log message
|
||||
*/
|
||||
public String format( String source, Level level, String msg);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue