Log v0.7.1 Log.Filter.Tag View Source

Link to this section Summary

Link to this section Types

Link to this type

t()

View Source
t() :: %Log.Filter.Tag{
  include_untagged?: boolean(),
  must_exclude: :none | :all | [Log.Tag.name(), ...],
  must_include: :none | [Log.Tag.name(), ...],
  one_of: :any | [Log.Tag.name(), ...]
}

Link to this section Functions

Link to this function

match?(filter, tags)

View Source
match?(filter :: t(), tags :: [Tag.t()]) :: boolean()
Link to this function

parse(tags)

View Source
parse(tags :: String.t()) :: {:ok, t()} | {:error, String.t()}
Link to this function

parse!(tags)

View Source
parse!(tags :: String.t()) :: t() | no_return()
Link to this function

put(filter, name)

View Source
put(filter :: t(), name :: Log.Filter.Tag.Name.t()) ::
  {:error, String.t()} | {:ok, t()}