Comments (3)
AFAIK log
has exactly same logging statement mechanism, it's just using different defaults (I'm the author of slog
and I just mimicked the whole mechanism of log
altogether). While slog
defaults to info
for release and debug
for debug builds, log
defaults to trace
everywhere. You can just change it manually using crate features defined here: https://github.com/rust-lang-nursery/log/blob/master/Cargo.toml#L20
from log.
Yep, this is exactly why those Cargo features exist.
from log.
Sounds like this is all possible! In that case closing
from log.
Related Issues (20)
- Is this possible to make a failable log facade ? HOT 2
- "event" name support? (appending a suffix to the default target instead of replacing it entirely) HOT 5
- Derive `Deserialize` for `Level` HOT 1
- How do I set log level in Windows (Powershell)? HOT 3
- Is it possible to group logs? HOT 2
- Add tests that check the line numbers HOT 2
- The design of kV is not concise enough, I have a simple suggestion. HOT 2
- Surprising error when using `enabled` method in logger HOT 4
- Setting the file/line shown in a log message HOT 8
- ANSI escape sequences - Code injection HOT 4
- Feature suggestion: fatal log level with fatal! macro HOT 3
- log crate catches Clion stop signal HOT 2
- Release a build with `kv` support HOT 4
- Allow constructing LevelFilter via incrementation HOT 9
- Add log level fatal/critical HOT 2
- feature request: support the `critical` level defined in the `wasi-logging` spec HOT 1
- Add `critical!` Log Level HOT 1
- Log timestamp not match my timezone. HOT 1
- Release 0.4.22 breaks --all-features CI testing HOT 10
- Custom log levels HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from log.