public class VibrationComponent extends BaseTreeComponent
BaseTreeComponent which vibrates every time BaseTree.log(int, String, String, Throwable) gets called.| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_DURATION |
baseTree, priorityFilterSet| Constructor and Description |
|---|
VibrationComponent(BaseTree baseTree) |
VibrationComponent(BaseTree baseTree,
long duration) |
VibrationComponent(BaseTree baseTree,
long duration,
android.os.Vibrator vibrator) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doLog(int priority,
java.lang.String tag,
java.lang.String message,
java.lang.Throwable t)
Called whenever the
BaseTree's log method gets called. |
log, setPriorityFilterSet, shouldLogpublic static final long DEFAULT_DURATION
public VibrationComponent(@NonNull
BaseTree baseTree)
public VibrationComponent(@NonNull
BaseTree baseTree,
long duration)
public VibrationComponent(@NonNull
BaseTree baseTree,
long duration,
@Nullable
android.os.Vibrator vibrator)
protected void doLog(int priority,
java.lang.String tag,
java.lang.String message,
java.lang.Throwable t)
BaseTreeComponentBaseTree's log method gets called.doLog in class BaseTreeComponenttimber.log.Timber.Tree#log(int, String, String, Throwable)