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