blob: 53e479652ab45b2d58ffafcd83be94f67852a48f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.container.jdisc;
import com.yahoo.container.di.componentgraph.Provider;
import com.yahoo.container.logging.ConnectionLog;
import com.yahoo.jdisc.http.server.jetty.VoidConnectionLog;
/**
* @author bjorncs
*/
public class DisabledConnectionLogProvider implements Provider<ConnectionLog> {
private static final ConnectionLog INSTANCE = new VoidConnectionLog();
@Override public ConnectionLog get() { return INSTANCE; }
@Override public void deconstruct() {}
}
|