EMMA Coverage Report (generated Tue Oct 27 11:32:50 PDT 2009) |
---|
[all classes][net.spy.memcached.compat.log] |
name | class, % | method, % | block, % | line, % |
---|---|---|---|---|
Level.java | 100% (1/1) | 80% (4/5) | 94% (75/80) | 99% (6.9/7) |
name | class, % | method, % | block, % | line, % |
---|---|---|---|---|
class Level | 100% (1/1) | 80% (4/5) | 94% (75/80) | 99% (6.9/7) |
valueOf (String): Level | 0% (0/1) | 0% (0/5) | 0% (0/1) | |
<static initializer> | 100% (1/1) | 100% (54/54) | 100% (6/6) | |
Level (String, int): void | 100% (1/1) | 100% (5/5) | 100% (1/1) | |
toString (): String | 100% (1/1) | 100% (12/12) | 100% (1/1) | |
values (): Level [] | 100% (1/1) | 100% (4/4) | 100% (1/1) |
1 | // Copyright (c) 2002 Dustin Sallings <dustin@spy.net> |
2 | |
3 | package net.spy.memcached.compat.log; |
4 | |
5 | /** |
6 | * Levels for logging. |
7 | */ |
8 | public enum Level { |
9 | |
10 | /** |
11 | * Debug level. |
12 | */ |
13 | DEBUG, |
14 | /** |
15 | * Info level. |
16 | */ |
17 | INFO, |
18 | /** |
19 | * Warning level. |
20 | */ |
21 | WARN, |
22 | /** |
23 | * Error level. |
24 | */ |
25 | ERROR, |
26 | /** |
27 | * Fatal level. |
28 | */ |
29 | FATAL; |
30 | |
31 | /** |
32 | * Get a string representation of this level. |
33 | */ |
34 | @Override |
35 | public String toString() { |
36 | return("{LogLevel: " + name() + "}"); |
37 | } |
38 | |
39 | } |
[all classes][net.spy.memcached.compat.log] |
EMMA 2.0.5312 (C) Vladimir Roubtsov |