Scribble v0.2.0 Scribble.Level View Source
Comparison and information gathering for log levels
Link to this section Summary
Link to this section Types
Link to this type
color()
View Source
color()
View Source
color() :: atom()
color() :: atom()
Link to this type
comparison()
View Source
comparison()
View Source
comparison() :: :lt | :gt | :eq
comparison() :: :lt | :gt | :eq
Link to this type
t()
View Source
t()
View Source
t() :: atom()
t() :: atom()
Link to this section Functions
Link to this function
cmp(left, right)
View Source
cmp(left, right)
View Source
cmp(left :: t(), right :: t()) :: comparison() | {:error, String.t()}
cmp(left :: t(), right :: t()) :: comparison() | {:error, String.t()}
Link to this function
cmp!(left, right)
View Source
cmp!(left, right)
View Source
cmp!(left :: t(), right :: t()) :: comparison()
cmp!(left :: t(), right :: t()) :: comparison()
Link to this function
get_color(level, config \\ nil) View Source
Link to this function
get_levelpad(level, config \\ nil) View Source
Link to this function
get_logger_level(level, config \\ nil)
View Source
get_logger_level(level, config \\ nil)
View Source
get_logger_level(level :: t(), config :: nil | keyword()) :: Logger.level()
get_logger_level(level :: t(), config :: nil | keyword()) :: Logger.level()
Link to this function
levels()
View Source
levels()
View Source
levels() :: [t()]
levels() :: [t()]
Link to this function
to_integer(level)
View Source
to_integer(level)
View Source
to_integer(level :: t()) :: non_neg_integer() | nil
to_integer(level :: t()) :: non_neg_integer() | nil
Link to this function
to_integer!(level)
View Source
to_integer!(level)
View Source
to_integer!(level :: t()) :: non_neg_integer()
to_integer!(level :: t()) :: non_neg_integer()