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

/**
 *
 * @author  <a href="mailto:borud@yahoo-inc.com">Bjorn Borud</a>
 */
public class Value extends Event {
    public Value () {
    }

    public Value (String name, double value) {
        setValue("name", name);
        setValue("value", Double.toString(value));
    }
}