enum

CogUtil::LogLevel

Inherits Enum < Comparable < Value < Object

Log levels for OpenCog logging system

Constants

NONE = 0
ERROR = 1
WARN = 2
INFO = 3
DEBUG = 4
FINE = 5

Constructors

from_string(str : String) : LogLevel

Convert from string to enum (case insensitive)

Source

Instance methods

color

Get color for console output

Source
debug?

Returns true if this enum value equals DEBUG

Source
error?

Returns true if this enum value equals ERROR

Source
fine?

Returns true if this enum value equals FINE

Source
info?

Returns true if this enum value equals INFO

Source
none?

Returns true if this enum value equals NONE

Source
to_s(io : IO) : Nil

Convert to string representation

Source
warn?

Returns true if this enum value equals WARN

Source