Restlet Framework 2.4.3
Java Standard Edition
- Summary:
- Nested |
- Field |
- Constr |
- Method
- Detail:
- Field |
- Constr |
- Method
- java.lang.Object
-
- org.restlet.engine.log.LogUtils
-
-
Method Summary
All Methods Static Methods Concrete Methods
Modifier and Type |
Method and Description |
static java.lang.String |
getBestClassName(java.lang.Class<?> clazz)
Return the best class name.
|
static java.lang.String |
getLoggerName(java.lang.String baseName,
java.lang.Object owner)
Returns a non-null logger name.
|
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getBestClassName
public static java.lang.String getBestClassName(java.lang.Class<?> clazz)
Return the best class name. If the class is anonymous, then it returns
the super class name.
- Parameters:
clazz
- The class to name.
- Returns:
- The class name.
-
getLoggerName
public static java.lang.String getLoggerName(java.lang.String baseName,
java.lang.Object owner)
Returns a non-null logger name. It is composed by the canonical class
name of the owner object suffixed by the owner's hash code.
- Parameters:
baseName
- The base logger name to prepend, without a trailing dot.
owner
- The context owner.
- Returns:
- The logger name.
Restlet Framework 2.4.3
Java Standard Edition
- Summary:
- Nested |
- Field |
- Constr |
- Method
- Detail:
- Field |
- Constr |
- Method
Copyright © 2005-2020 Restlet.