CHG: the default level is now GENERIC because NONE is not valid and
produces exceptions
CHG: the code NONE has been removed, so we can use the ordinal() method
instead of our code() method.