org.sonatype.guice.bean.reflect
Class Logs

java.lang.Object
  extended by org.sonatype.guice.bean.reflect.Logs

public final class Logs
extends Object

Utility methods for dealing with internal debug and warning messages.


Method Summary
static void debug(String format, Object arg1, Object arg2)
          Logs a debug message; uses "{}" format anchors.
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
 

Method Detail

debug

public static void debug(String format,
                         Object arg1,
                         Object arg2)
Logs a debug message; uses "{}" format anchors. Pass Throwables in last parameter for special handling.

Parameters:
format - The debug message format
arg1 - First object to format
arg2 - Second object to format

warn

public static void warn(String format,
                        Object arg1,
                        Object arg2)
Logs a warning message; uses "{}" format anchors. Pass Throwables in last parameter for special handling.

Parameters:
format - The warning message format
arg1 - First object to format
arg2 - Second object to format


Copyright © 2010-2011 Sonatype, Inc.. All Rights Reserved.