View Javadoc

1   /**
2    * Logback: the generic, reliable, fast and flexible logging framework.
3    * 
4    * Copyright (C) 2000-2008, QOS.ch
5    * 
6    * This library is free software, you can redistribute it and/or modify it under
7    * the terms of the GNU Lesser General Public License as published by the Free
8    * Software Foundation.
9    */
10  package ch.qos.logback.classic.turbo;
11  
12  import ch.qos.logback.classic.Level;
13  
14  
15  /**
16   * Bean pairing an MDC value with a log level.
17   * 
18   * @author Raplh Goers
19   * @author Ceki Gülcü
20   */
21  public class MDCValueLevelPair {
22    private String value;
23    private Level level;
24  
25    public String getValue() {
26      return value;
27    }
28  
29    public void setValue(String name) {
30      this.value = name;
31    }
32  
33    public Level getLevel() {
34      return level;
35    }
36  
37    public void setLevel(Level level) {
38      this.level = level;
39    }
40  }