Class IOUtil.Lazy

  • Enclosing class:
    IOUtil

    public static class IOUtil.Lazy
    extends Object
    Lazy evaluation for logging complex objects

    Example

    LOG.debug("Suspicious json found", new Lazy(() -> json.toString()));