|
|||||||||||||||||||
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
DefaultCategoryFactory.java | - | 0% | 0% | 0% |
|
1 |
/*
|
|
2 |
* Joey and its relative products are published under the terms
|
|
3 |
* of the Apache Software License.
|
|
4 |
*/
|
|
5 |
/*
|
|
6 |
* Created on 2003/12/27
|
|
7 |
*/
|
|
8 |
package org.asyrinx.brownie.log.log4j;
|
|
9 |
|
|
10 |
import org.apache.log4j.Logger;
|
|
11 |
import org.apache.log4j.spi.LoggerFactory;
|
|
12 |
|
|
13 |
/**
|
|
14 |
* @author akima
|
|
15 |
*/
|
|
16 |
public class DefaultCategoryFactory implements LoggerFactory { |
|
17 |
|
|
18 |
/**
|
|
19 |
*
|
|
20 |
*/
|
|
21 | 0 |
public DefaultCategoryFactory() {
|
22 | 0 |
super();
|
23 |
} |
|
24 |
|
|
25 |
/**
|
|
26 |
* @see org.apache.log4j.spi.LoggerFactory#makeNewLoggerInstance(java.lang.String)
|
|
27 |
*/
|
|
28 | 0 |
public Logger makeNewLoggerInstance(String name) {
|
29 | 0 |
return new LoggerImpl(name); |
30 |
} |
|
31 |
|
|
32 |
} |
|
33 |
|
|
34 |
class LoggerImpl extends Logger { |
|
35 |
/**
|
|
36 |
* @param name
|
|
37 |
*/
|
|
38 | 0 |
public LoggerImpl(String name) {
|
39 | 0 |
super(name);
|
40 |
} |
|
41 |
|
|
42 |
} |
|