|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sonatype.guice.bean.reflect.Logs
public final class Logs
Utility methods for dealing with internal debug and warning messages.
Set -Dorg.sonatype.inject.debug=true to send debug to the console.
| Field Summary | |
|---|---|
static boolean |
DEBUG_ENABLED
|
static String |
NEW_LINE
|
| Method Summary | |
|---|---|
static void |
debug(String format,
Object arg1,
Object arg2)
Logs a debug message; uses "{}" format anchors. |
static String |
identityToString(Object object)
Returns an identity string for the given object. |
static String |
toString(com.google.inject.Injector injector)
Returns a string representation of the given Injector. |
static String |
toString(com.google.inject.Module module)
Returns a string representation of the given Module. |
static void |
warn(String format,
Object arg1,
Object arg2)
Logs a warning message; uses "{}" format anchors. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String NEW_LINE
public static final boolean DEBUG_ENABLED
| Method Detail |
|---|
public static void debug(String format,
Object arg1,
Object arg2)
Throwables in last parameter for special handling.
format - The debug message formatarg1 - First object to formatarg2 - Second object to format
public static void warn(String format,
Object arg1,
Object arg2)
Throwables in last parameter for special handling.
format - The warning message formatarg1 - First object to formatarg2 - Second object to formatpublic static String identityToString(Object object)
object - The object
System.identityHashCode(Object)public static String toString(com.google.inject.Module module)
Module.
module - The module
public static String toString(com.google.inject.Injector injector)
Injector.
injector - The injector
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||