Skip to main content
summaryrefslogtreecommitdiffstats
blob: 37e91fa91916d82752c6da7d839088d79752871f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
package org.eclipse.jetty.util.log;

public class Blue
{
    private static final Logger LOG = Log.getLogger(Blue.class);
    
    public void generateLogs() {
        LOG.debug("My color is {}", Blue.class.getSimpleName());
        LOG.info("I represent the emotion Admiration");
        LOG.warn("I can also mean Disgust");
        LOG.ignore(new RuntimeException("Yawn"));
    }
}

Back to the top