public class LeafEvents extends Object
Modifier and Type | Class and Description |
---|---|
static class |
LeafEvents.SimpleLeafEvent |
Constructor and Description |
---|
LeafEvents() |
Modifier and Type | Method and Description |
---|---|
static Scope |
scope(BuckEventBus eventBus,
String category)
Creates a simple scoped leaf event that will be logged to superconsole, chrome traces, etc.
|
static Scope |
scope(BuckEventBus eventBus,
String category,
boolean logToChromeTrace) |
public static Scope scope(BuckEventBus eventBus, String category)
public static Scope scope(BuckEventBus eventBus, String category, boolean logToChromeTrace)
eventBus
- category
- the name of the category.logToChromeTrace
- if it should be logged to the ChromeTrace or not.