#logging #log #cargo #language #basic #disable

bin+lib artifact

A logging library which allows settings to be specified through cargo features

22 releases

Uses old Rust 2015

0.2.4 Aug 16, 2015
0.2.0 Jun 30, 2015
0.0.14 Mar 26, 2015
0.0.7 Dec 30, 2014

#19 in #disable

MIT license

42KB
808 lines

#Artifact Logging Library

Build Status

Artifact (or artifact-rs) is a logging library for the rust language. It aims to provide effective logging in debug builds, while allowing release builds to limit or disable logging entirely through Cargo configuration.

##Basic Usage

Within your main function, create an ArtifactGlobalLib object. Then, use the artifact::logger::Logger functionality to create and utilize your loggers.

##Documentation

The documentation is somewhat limited, but rustdocs are uploaded on every Travis build.

Link

##Examples

The bin directory has a few examples.

##Testing

This library desperately needs some unit tests, as there are none at the moment.

##License

Artifact (which is composed of all code within this, the artifact-rs github repository) is released under the terms of the MIT license.

Artifact, Copyright (c) 2014-2015 Brandon Sanderson

Dependencies

~0.6–1MB
~16K SLoC