Here you can find the source of formatMessage(String message)
private static String formatMessage(String message)
//package com.java2s; // it under the terms of the GNU General Public License as published by import java.text.SimpleDateFormat; import java.util.Date; public class Main { static final SimpleDateFormat _DateFormatter = new SimpleDateFormat("HH:mm:ss:SSS"); private static String formatMessage(String message) { return _DateFormatter.format(new Date()) + " IBController: " + message; }// w w w .java 2s . c o m }