clux / loggerv

A minimalistic stdout/stderr logger for rust
https://docs.rs/loggerv
MIT License
21 stars 6 forks source link

Add example and fix typos #9

Closed volks73 closed 6 years ago

volks73 commented 6 years ago

I have added an example for the new output method API. It demonstrates how to change the output stream from stdout to stderr for a specific level. I also fixed some typos in the example documentation and made the use of level names a consistent (upper) case.

Given the recent API changes for color and output stream, a new release might be in order. I have updated the version numbers in the manifest (Cargo.toml) and README to 0.6, along with adding a category to the manifest. I am not familiar with the release process, but would it possible to create a new release after merging these changes?

clux commented 6 years ago

Yeah, this looks good to me. I can merge and publish now.

clux commented 6 years ago

Have published 0.6.0 now. It did give a warning that the slug was invalid:

warning: the following are not valid category slugs and were ignored: command-line-utilties. Please see https://crates.io/category_slugs for the list of all category slugs.

so may need another.

clux commented 6 years ago

There was a typo in it. This will be fixed in the next release. Delaying that though.

volks73 commented 6 years ago

There was a typo in it. This will be fixed in the next release. Delaying that though.

Whoops, sorry about that. Sounds good.