summaryrefslogtreecommitdiffstats
path: root/vespalog/src/main/java/com/yahoo/log/impl/InitializeLog.java
blob: 9b309916469aeade34c496357e7066375748421e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.yahoo.log.impl;

import com.yahoo.log.LogSetup;

/**
 * Sets up Vespa logging. Call a setup method to set up this.
 *
 * @author baldersheim
 */
public class InitializeLog {
    static {
        LogSetup.initVespaLogging("unused-default");
    }

    /**
     * Do not delete this method even if it's empty.
     * Calling this methods forces this class to be loaded,
     * which runs the static block.
     */
    public static void init() { }
}