Class | Line # | Actions | |||||
---|---|---|---|---|---|---|---|
LogLevel | 6 | 2 | 0% | 2 | 0 |
1 | package org.europa.together.domain; | |
2 | ||
3 | /** | |
4 | * Available LogLevels. | |
5 | */ | |
6 | public enum LogLevel { | |
7 | ||
8 | DEBUG("DEBUG"), | |
9 | ERROR("ERROR"), | |
10 | INFO("INFO"), | |
11 | TRACE("TRACE"), | |
12 | WARN("WARN"); | |
13 | ||
14 | private final String value; | |
15 | ||
16 | //CONSTRUCTOR | |
17 | 5 | LogLevel(final String value) { |
18 | 5 | this.value = value; |
19 | } | |
20 | ||
21 | 5 | @Override |
22 | public String toString() { | |
23 | 5 | return this.value; |
24 | } | |
25 | } |