ToStringHelper (SLF4J 1.7.4 API)
Date: 2013-03-18

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.slf4j.instrumentation
Class ToStringHelper

    java.lang.Object
      org.slf4j.instrumentation.ToStringHelper

    public class ToStringHelper

extends Object

Constructor Summary
`ToStringHelper()`

Method Summary
`static String` | `render(Object o)` Returns o.toString() unless it throws an exception (which causes it to be stored in unrenderableClasses) or already was present in unrenderableClasses.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ToStringHelper

    public ToStringHelper()

Method Detail

### render

    public static String render(Object o)

  Returns o.toString() unless it throws an exception (which causes it to be stored in unrenderableClasses) or already was present in unrenderableClasses. If so, the same string is returned as would have been returned by Object.toString(). Arrays get special treatment as they don't have usable toString methods.

  Parameters:
    `o` - incoming object to render.
  Returns:

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005-2013 QOS.ch. All Rights Reserved.