Operator
<(_:_:)
Strict severity comparison: .debug < .info < .notice < .warn < .err.
static func < (lhs: TorLogLevel, rhs: TorLogLevel) -> Bool
Parameters
-
lhs
-
Left operand.
-
rhs
-
Right operand.
Return Value
true if lhs has strictly lower severity than rhs.
Discussion
Enables predicates such as level >= .warn for log filtering and test assertions. Comparison is not lexicographic on the raw strings — "DEBUG" < "ERR" by ASCII but .debug > .err by severity; always use the typed enum for ordering semantics.