Use package name as log name in getInstance(Class)
This commit is contained in:
parent
7aa8a8ac87
commit
0c3997ccc3
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ public class Logging extends LogFactory {
|
|||
}
|
||||
|
||||
public synchronized Log getInstance (Class clazz) {
|
||||
return getInstance(clazz.toString());
|
||||
return getInstance(clazz.getPackage().getName());
|
||||
}
|
||||
|
||||
public void setAttribute(String name, Object value) {
|
||||
|
|
Loading…
Add table
Reference in a new issue