APISonar


org.glowroot.wire.api.Collector.log

> org > glowroot > wire > api > Collector > log
org APIs glowroot APIs wire APIs api APIs Collector APIs log APIs

Example 1
private volatile @MonotonicNonNull Collector instance;

    public void log(LogEvent logEvent) throws Exception {
        if (instance != null) {
            instance.log(logEvent);
        } else if (earlyLogEvents.size() < 100) {
            earlyLogEvents.add(logEvent);
        }
    }