code: @Override
  	public String format( LogRecord record ) {
  
  		// Center the level
  		int totalSpaces = LEVEL_SPAN - record.getLevel().toString().length();
  		StringBuilder sbLevel = new StringBuilder();
  		for( int i=0; i<totalSpaces/2; i++ )
  			sbLevel.append( " " );
  
  		sbLevel.append( record.getLevel());
  		for( int i=sbLevel.toString().length(); i<LEVEL_SPAN; i++ )
  			sbLevel.append( " " );
  
  		// Format the entire record
  		StringBuilder sb = new StringBuilder();
  		sb.append( "[ " ).append( this.df.format( new Date( record.getMillis()))).append(" ]" );
  		sb.append( "[ ").append( sbLevel ).append( " ] " );
  		sb.append( record.getSourceClassName()).append("#");
  		sb.append( record.getSourceMethodName());
  
  		sb.append( "\n" );
  		sb.append( formatMessage( record ));
  		sb.append( "\n" );
  
  		return sb.toString();
  	}
  
  
  	/**
  	 * @return the maximum length of a log level
  	 */
  	static int findMaxLevelLength() {
  
  		Level[] levels = new Level[] {
  				Level.ALL, Level.CONFIG, Level.FINE,
  				Level.FINER, Level.FINEST, Level.INFO,
  				Level.OFF, Level.SEVERE, Level.WARNING
  		};
  
  		int result = -1;
  		for( Level level : levels )
  			result = Math.max( result, level.toString().length());
  
  		return result;
  	}
  }
docs: /*
  (non-Javadoc)
  @see java.util.logging.Formatter
  #format(java.util.logging.LogRecord)