httpx/sig/loggable.rbs
2020-10-27 17:00:44 +00:00

11 lines
230 B
Plaintext

module HTTPX
interface _IOLogger
def <<: (string?) -> void
end
module Loggable
def log: (?level: Integer, ?color: Symbol) { () -> String } -> void
def log_exception: (StandardError, **untyped) -> void
end
end