{"repo":"demml/rusty-logger","free":true,"listed":false,"github":"https://github.com/demml/rusty-logger","clone":"git clone https://github.com/demml/rusty-logger.git","description":"Fast Python logging library written in Rust, ready for production","language":"Rust","stars":14,"topics":["logger","logging","production","python","rust"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Attention This crate/library is currently undergoing re-writes. Rusty Logger Simple, opinionated and fast python logging. Rusty-Logger is a thin python wrapper for Rust's tracing library that provides a mostly drop-in replacement for python's default logging. Table of contents - Attention - This crate/library is currently undergoing re-writes. - Rusty Logger - Table of contents - Supported Configuration - Constraints - Show Me The Code! - Basic Usage - JSON - Log to file - Record multiple places at once - Additional examples - Performance - Contributing Supported Configuration Arg Description Default ------------- :-------------: :-------------: stdout Log to stdout True stderr Log to stderr False level Level to log INFO app env Application environment (APP ENV env var) development lock guard Whether to lock logger to current context False thread id Whether to display the thread id False color Whether to enable ansi coloring of logs for standard logger False time format Custom time format for logger [year]-[month]-[day]T[hour repr:24]:[minute]:[second]::[subsecond digits:4] json config JsonConig None json config.flatten Whether to flatten any passed fields True file config LogFileConfig None file config.filename Filename for log log/logs.log file config.rotate File rotation specification. daily , hourly , minutely or never never Constraints Time is currently limited to UTC; however, you can customize time format to your liking using the time format arg. Please refer to (time ","default_branch":null,"files":null,"tree":[],"storefront":"/r/demml","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/demml/rusty-logger/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}