enum

MinknowApi::Log::Severity

Inherits Enum < Comparable < Value < Object

Constants

MESSAGE_SEVERITY_TRACE = 0
MESSAGE_SEVERITY_INFO = 1
MESSAGE_SEVERITY_WARNING = 2
MESSAGE_SEVERITY_ERROR = 3

Class methods

from_raw?(raw : Int32) : self | Nil
Source

Instance methods

message_severity_error?

Returns true if this enum value equals MESSAGE_SEVERITY_ERROR

Source
message_severity_info?

Returns true if this enum value equals MESSAGE_SEVERITY_INFO

Source
message_severity_trace?

Returns true if this enum value equals MESSAGE_SEVERITY_TRACE

Source
message_severity_warning?

Returns true if this enum value equals MESSAGE_SEVERITY_WARNING

Source