summaryrefslogtreecommitdiffstats
path: root/metrics/src/main/java/com/yahoo/metrics/VespaLogEventLogger.java
blob: a2ee2133b13832fdee21c7d32731f65c4ed8cbe2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.metrics;

import com.yahoo.log.event.Event;

/**
 * @author thomasg
 */
public class VespaLogEventLogger implements EventLogger {
    public void value(String name, double value) {
        Event.value(name, value);
    }

    public void count(String name, long value) {
        Event.count(name, value);
    }
}