fromValue static method
Implementation
static LogLevel fromValue(int value) {
switch (value) {
case 1:
return Debug;
case 2:
return Info;
case 4:
return Warn;
case 8:
return Error;
case 16:
return Exception;
case 0x1F:
case 0xFF:
return All;
default:
return None;
}
}