Returns the enum constant of this class with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this class. (Extraneous whitespace characters are
not permitted.)
Parameters:
name - the name of the enum constant to be returned.
level - the CliLogLevel to check (e.g. that is going to be logged).
Returns:
true if this CliLogLevelincludes the given CliLogLevel, false
otherwise. In other words this method checks if the severity of the given
CliLogLevel is greater or equal to this CliLogLevel. So if this method is invoked on the
current log-level of the CliConsole with the
level to log the result will indicate if the message should be logged
(or in case of false be suppressed).