@UnstableApi
public final class Dumper


Helper utility to dump field values.

Summary

Nested types

public interface Dumper.Dumpable

Provides custom dump method.

Public constructors

Public constructors

Dumper

public Dumper()

Public methods

add

@CanIgnoreReturnValue
public Dumper add(String field, @Nullable Object value)

add

@CanIgnoreReturnValue
public Dumper add(String field, @Nullable byte[] value)

addTime

@CanIgnoreReturnValue
public Dumper addTime(String field, long time)

endBlock

@CanIgnoreReturnValue
public Dumper endBlock()

startBlock

@CanIgnoreReturnValue
public Dumper startBlock(String name)

toString

public String toString()