All Downloads are FREE. Search and download functionalities are using the official Maven repository.

eu.hgross.blaubot.util.MyFormatter Maven / Gradle / Ivy

Go to download

An easy to use publish/subscribe middleware to create and communicate through dynamically created adhoc networks.

There is a newer version: 2.0.0-beta.2
Show newest version
package eu.hgross.blaubot.util;

import java.util.Date;
import java.util.logging.Formatter;
import java.util.logging.LogRecord;

public class MyFormatter extends Formatter {
	 
    @Override
    public String format(LogRecord record) {
        return "Thread#"+record.getThreadID()+"::"
                +new Date(record.getMillis())+"::"
                +record.getMessage()+"\n";
    }
 
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy