├── .github └── workflows │ └── ci.yml ├── .gitignore ├── Cargo.toml ├── LICENSE ├── README.md ├── examples ├── colors.rs ├── flush.rs ├── init.rs ├── init_with_env.rs ├── init_with_level.rs ├── init_with_target_level.rs ├── stderr.rs ├── threads.rs ├── timestamps_format.rs ├── timestamps_local.rs ├── timestamps_none.rs ├── timestamps_utc.rs ├── timestamps_utc_offset.rs └── wrap.rs ├── rustfmt.toml └── src └── lib.rs /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/borntyping/rust-simple_logger/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | Cargo.lock 3 | .idea/ 4 | -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/borntyping/rust-simple_logger/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/borntyping/rust-simple_logger/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/borntyping/rust-simple_logger/HEAD/README.md -------------------------------------------------------------------------------- /examples/colors.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/borntyping/rust-simple_logger/HEAD/examples/colors.rs -------------------------------------------------------------------------------- /examples/flush.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/borntyping/rust-simple_logger/HEAD/examples/flush.rs -------------------------------------------------------------------------------- /examples/init.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/borntyping/rust-simple_logger/HEAD/examples/init.rs -------------------------------------------------------------------------------- /examples/init_with_env.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/borntyping/rust-simple_logger/HEAD/examples/init_with_env.rs -------------------------------------------------------------------------------- /examples/init_with_level.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/borntyping/rust-simple_logger/HEAD/examples/init_with_level.rs -------------------------------------------------------------------------------- /examples/init_with_target_level.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/borntyping/rust-simple_logger/HEAD/examples/init_with_target_level.rs -------------------------------------------------------------------------------- /examples/stderr.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/borntyping/rust-simple_logger/HEAD/examples/stderr.rs -------------------------------------------------------------------------------- /examples/threads.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/borntyping/rust-simple_logger/HEAD/examples/threads.rs -------------------------------------------------------------------------------- /examples/timestamps_format.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/borntyping/rust-simple_logger/HEAD/examples/timestamps_format.rs -------------------------------------------------------------------------------- /examples/timestamps_local.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/borntyping/rust-simple_logger/HEAD/examples/timestamps_local.rs -------------------------------------------------------------------------------- /examples/timestamps_none.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/borntyping/rust-simple_logger/HEAD/examples/timestamps_none.rs -------------------------------------------------------------------------------- /examples/timestamps_utc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/borntyping/rust-simple_logger/HEAD/examples/timestamps_utc.rs -------------------------------------------------------------------------------- /examples/timestamps_utc_offset.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/borntyping/rust-simple_logger/HEAD/examples/timestamps_utc_offset.rs -------------------------------------------------------------------------------- /examples/wrap.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/borntyping/rust-simple_logger/HEAD/examples/wrap.rs -------------------------------------------------------------------------------- /rustfmt.toml: -------------------------------------------------------------------------------- 1 | max_width = 120 2 | -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/borntyping/rust-simple_logger/HEAD/src/lib.rs --------------------------------------------------------------------------------