View Javadoc

1   /* Copyright (C) 2003 Internet Archive.
2    *
3    * This file is part of the Heritrix web crawler (crawler.archive.org).
4    *
5    * Heritrix is free software; you can redistribute it and/or modify
6    * it under the terms of the GNU Lesser Public License as published by
7    * the Free Software Foundation; either version 2.1 of the License, or
8    * any later version.
9    *
10   * Heritrix is distributed in the hope that it will be useful,
11   * but WITHOUT ANY WARRANTY; without even the implied warranty of
12   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13   * GNU Lesser Public License for more details.
14   *
15   * You should have received a copy of the GNU Lesser Public License
16   * along with Heritrix; if not, write to the Free Software
17   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18   *
19   * Created on Jul 22, 2003
20   *
21   */
22  package org.archive.crawler.io;
23  
24  import java.util.logging.Formatter;
25  import java.util.logging.LogRecord;
26  
27  
28  /***
29   * @author Parker Thompson
30   */
31  public class StatisticsLogFormatter extends Formatter {
32      public StatisticsLogFormatter() {
33          super();
34      }
35  
36      public String format(LogRecord record) {
37          return record.getMessage() + "\n";
38      }
39  }