mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-05 00:02:38 -04:00
13 lines
291 B
Plaintext
13 lines
291 B
Plaintext
module HTTPX
|
|
interface _IOLogger
|
|
def <<: (string?) -> void
|
|
end
|
|
|
|
module Loggable
|
|
COLORS: Hash[Symbol, Integer]
|
|
|
|
def log: (?level: Integer?, ?color: Symbol?) { () -> String } -> void
|
|
|
|
def log_exception: (Exception error, ?level: Integer, ?color: Symbol) -> void
|
|
end
|
|
end |