public abstract class CallerLoggerUtil extends Object
| Constructor and Description |
|---|
CallerLoggerUtil() |
public static String getName(String name)
name - name of the logger. In case of full name (it contains dots) same value is just returned.
In case of short names (no dots) the given name is prefixed by caller's class name and a dot.
In case of null the caller's class name is just returned.public static String getName(String name, int level)
name - name of the logger. In case of full name (it contains dots) same value is just returned.
In case of short names (no dots) the given name is prefixed by caller's class name and a dot.
In case of null the caller's class name is just returned.level - no of call stack levels to get the caller (0 means the caller of this method).Copyright © 2016 ZeroTurnaround. All rights reserved.