- Replace the ryu dependency with zmij, it's faster (https://github.com/Thomasdezeeuw/std-logger/commit/c17642dcdffa828dd81668adf3aaaff0e7b3a33c).
- Fixed an error when value serialisation didn't handle empty arrays and objects correctly. (https://github.com/Thomasdezeeuw/std-logger/commit/313fa8cc75e95c3577f79fd79a9611304e13993f).
- Add
serde1feature for json and gcloud formatting. This adds support for usingserde::Serializerwhen serialising the key-value pairs to support complex value. (https://github.com/Thomasdezeeuw/std-logger/commit/d79684f1f27e8af9b8b0ed5a4f5248a96cf69407).
- Support encoding a None/null value (https://github.com/Thomasdezeeuw/std-logger/commit/3b61d0fe33d0592dcaffbbf619e601d8cd9018f6).
- Handle new lines in logfmt (https://github.com/Thomasdezeeuw/std-logger/commit/7d3bfc48d0d99aeb66edfc33450c8d60089aa32e).
- Escape values in logfmt (https://github.com/Thomasdezeeuw/std-logger/commit/f79404bb9ea311475871a053c4cdb2a1cc5c4a76).
- Update to log's stable kv feature (https://github.com/Thomasdezeeuw/std-logger/commit/e32b37232101f59b1a7c34c3f7885e5b880ebb70).
- Add
thread_nameto key-value pairs for panics (https://github.com/Thomasdezeeuw/std-logger/commit/e4f60a69855ef25a69f0e95e354e633a1bf7b6eb). - Add
must_useattribute to Config (https://github.com/Thomasdezeeuw/std-logger/commit/42fa63a73d45a6b1e7b41e5223b93222ba77dad9).
- Fix writing of
"without escaping it using logfmt in some cases (https://github.com/Thomasdezeeuw/std-logger/commit/9b87a34667262c04e3a7af1cbf33654f468b62db).
- Added support for formatting using JSON (https://github.com/Thomasdezeeuw/std-logger/commit/d6338f450351c5d4f0bfbd091c71c72dbc5d10ff).
- BREAKING Increased MSRV to 1.65.
- BREAKING Removes global
initandtry_initfunctions,Configshould be used instead (https://github.com/Thomasdezeeuw/std-logger/commit/7b540ff76356a2e9acdb3752a4005aed5a02f293). - Switch to Rust edition 2021 (https://github.com/Thomasdezeeuw/std-logger/commit/3eb06c76fb69c1d5316e1a8943d8868fd0a76461).
- Dropped the
log-panicsdependency, usingstd::backtraceinstead (https://github.com/Thomasdezeeuw/std-logger/commit/6752d511d5b28b8794fd859f505f693283e5a765). - Add
Config::with_call_location, enables or disables logging of the call location (https://github.com/Thomasdezeeuw/std-logger/commit/86bbd1da4d200f32680d6aa8155266a585d6475a). - Add column number to logged panics (https://github.com/Thomasdezeeuw/std-logger/commit/8ea67c0162d55428538ab9cd3beffdb134ea1c0b).
- Increases the initial buffer size to 2kb (https://github.com/Thomasdezeeuw/std-logger/commit/809ca8b4087a898f735b8d1a906a1ed3f9fa1755).
- Fixes logging of messages using quotes using logfmt formatting (https://github.com/Thomasdezeeuw/std-logger/commit/d1b9e86ee6e91ac45d5fef9eae688ee813964945).
- Use CRITICAL severity for panic when logging using gcloud (https://github.com/Thomasdezeeuw/std-logger/commit/1671d9496706d3f077c1b59fb38211d293eb4386).
- Fixes logging of messages using quotes using GCP (gcloud) formatting (https://github.com/Thomasdezeeuw/std-logger/commit/0c39b7a3c40d07367b66cc0a937793f75a93a35a).
- Fixes severity names using GCP (gcloud) formatting (https://github.com/Thomasdezeeuw/std-logger/commit/ae98def82d7f9db3a0cce51da16d7614eeec18de).
Configtype support multiple logging formats (https://github.com/Thomasdezeeuw/std-logger/commit/2abba6460179296791fe2619fe1f3b2988452eaf).- Added JSON formatting for GCP (gcloud) (https://github.com/Thomasdezeeuw/std-logger/commit/b3059695ff22851c7d47986e58c58599b45d4e0d).
- Added
Config::with_kvs(https://github.com/Thomasdezeeuw/std-logger/commit/492646c196993877741a7260578d29c89c8b969a). - Removed libc dependency (https://github.com/Thomasdezeeuw/std-logger/commit/fc74144f7a1a1b43feaa582d5f3aad2b1bc39f41).
- Fixes handling panics during logging (https://github.com/Thomasdezeeuw/std-logger/commit/770219029a9a96b08a1d7c5b1aca8ad948216784).
- Always log panics, using the "panic" target regardless of set
LOG_TARGET(https://github.com/Thomasdezeeuw/std-logger/commit/be2c2e3ce6bb4a6bfda7cd7a2e9d30ce41b16563).
- BREAKING changes the log output to be based on logfmt (https://github.com/Thomasdezeeuw/std-logger/commit/ba1b53c1b940aebe8dc31acac12b6a2e6f412738).
- Adds logging of file name and line when debug logging is enabled (https://github.com/Thomasdezeeuw/std-logger/commit/f96425adbac0e183eadf05fabd52eb74c1b15ad0).
- Adds a
nightlyfeature that, if enabled, uses nightly-only features from the standard library (https://github.com/Thomasdezeeuw/std-logger/commit/8e4f1512ed785f2c84caaa54de5c8aaf559a09b0). - Uses
std::backtraceiflog-panicandnightlyis enabled instead of the log-panics crate (https://github.com/Thomasdezeeuw/std-logger/commit/61b46506d769c57002da95adfadcda3aaec1bf1d). This changes the logged file line and number to be that of the panic (https://github.com/Thomasdezeeuw/std-logger/commit/5b27bea25f0bb654f85092eefad658652d41d90c). - Removed chrono depdency (https://github.com/Thomasdezeeuw/std-logger/commit/81a6e325c8d6a0fe10738d032da2899c4fc4db03).
- Fix
request!macro.
- BREAKING updated minimum supported Rust version to 1.33.
- Added
request!macro, a convenient way to log requests. - Added unstable support to print key-value pairs, using
log's "kv_unstable" feature. - Dropped
libcas dependency.
- Changed examples to use Rust 2018.
- Add log filtering by using
LOG_TARGET. - Write directly to stdout/stderr, not using the standard library's locks.
- Only call write once, before it would use
write_allwhich callswritein a loop. Now it errors (panics) if the entire message can't be written in one write call. - Updates to Rust 2018.
- BREAKING Requires Rust 1.31 or higher to compile.
- Added
try_init, a version ofinitthat doesn't panic. - Document that
initpanics if it fails to initialise the logger, no functional change but the panic was never documented.
- Improve documentation.
- Improve performance by using a thread-local buffer for printing messages.
- Update to log 0.4.1.
- Update to log-panics 2.0.
- Update to lazy_static 1.0 (test only).
- Expanded documentation.
- Don't log anything in
init.
- An intial debug message is now printed to test the inital setup of the logger.
- Docs where added for changing the severity level (no code change).
- Changed the timestamp format to RFC 3339.
- Improved logging with timestamp performance.
- The
catch-panicfeature was renamed tolog-panic. - Backtraces are now logged (using the
log-panicfeature). - Panics are now logged with a
panictarget.
Initial release.