KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > presumo > util > log > LoggerFactory


1 /**
2  * This file is part of Presumo.
3  *
4  * Presumo is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * Presumo is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with Presumo; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17  *
18  * Copyright 2001 Dan Greff
19  *
20  */

21 package com.presumo.util.log;
22
23 import java.util.ResourceBundle JavaDoc;
24
25 /**
26  * Used to encapsulate what logging implementation is being used by the
27  * project. Currently, only a log4j wrapper implementation is available.
28  *
29  * @author Dan Greff
30  */

31 public class LoggerFactory
32 {
33   public static Logger getLogger(Class JavaDoc c, ResourceBundle JavaDoc bundle)
34   {
35     return new Logger4j(c, bundle);
36   }
37 }
38
Popular Tags