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

import com.yahoo.log.LogMessage;

/**
 * @author Bjorn Borud
 */
public class NullFilter implements LogFilter {
    public boolean isLoggable(LogMessage msg) {
        return true;
    }

    public String description() {
        return "Match all log messages";
    }
}