Memo::BusLog
Console logging for memo-arcana: colored, timestamped lines on STDERR, with request parameters summarized and secrets redacted.
Constants
BOLD = "\e[1m"
CYAN = "\e[36m"
DIM = "\e[2m"
GRAY = "\e[90m"
GREEN = "\e[32m"
RED = "\e[31m"
RESET = "\e[0m"
SENSITIVE_KEYS = Set {"api_key", "password", "secret", "token", "key"}
YELLOW = "\e[33m"
Class methods
Instance methods
The text with *** for the passwords in any database URLs in it: the user's password (postgres://user:pass@host) and query parameters such as ?password= or &sslpassword=. Works on messages too.