public static interface

FrescoSystrace.ArgsBuilder

com.facebook.imagepipeline.systrace.FrescoSystrace.ArgsBuilder

Class Overview

Object that accumulates arguments.

Summary

Public Methods
abstract FrescoSystrace.ArgsBuilder arg(String key, int value)
Logs an argument whose value is an int.
abstract FrescoSystrace.ArgsBuilder arg(String key, Object value)
Logs an argument whose value is any object.
abstract FrescoSystrace.ArgsBuilder arg(String key, double value)
Logs an argument whose value is a double.
abstract FrescoSystrace.ArgsBuilder arg(String key, long value)
Logs an argument whose value is a long.
abstract void flush()
Write the full message to the Systrace buffer.

Public Methods

public abstract FrescoSystrace.ArgsBuilder arg (String key, int value)

Logs an argument whose value is an int. It will be stringified with valueOf(int).

public abstract FrescoSystrace.ArgsBuilder arg (String key, Object value)

Logs an argument whose value is any object. It will be stringified with valueOf(Object).

public abstract FrescoSystrace.ArgsBuilder arg (String key, double value)

Logs an argument whose value is a double. It will be stringified with valueOf(double).

public abstract FrescoSystrace.ArgsBuilder arg (String key, long value)

Logs an argument whose value is a long. It will be stringified with valueOf(long).

public abstract void flush ()

Write the full message to the Systrace buffer.

You must call this to log the trace message.