/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package kommunikation.logger; import java.util.logging.LogRecord; import java.util.logging.SimpleFormatter; /** * * @author nobody */ public class MyFormatter extends SimpleFormatter { public MyFormatter() { } @Override public String format(LogRecord record) { String str = "| " + record.getMillis() + " | " + record.getLevel()+ " | " + record.getSourceClassName() + " | " + record.getMessage() + " |\n"; return str; } }