mirror of
https://github.com/openharmony/third_party_rust_log.git
synced 2026-07-01 05:35:43 -04:00
Add a README
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
log
|
||||
===
|
||||
|
||||
A Rust library for application logging via debug/info/warn/error macros
|
||||
|
||||
[](https://travis-ci.org/rust-lang/log)
|
||||
|
||||
[Documentation](http://doc.rust-lang.org/log)
|
||||
|
||||
## Usage
|
||||
|
||||
Add this to your `Cargo.toml`:
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
log = "0.1.0"
|
||||
```
|
||||
|
||||
and this to your crate root:
|
||||
|
||||
```rust
|
||||
extern crate log;
|
||||
```
|
||||
Reference in New Issue
Block a user