6 Commits

Author SHA1 Message Date
619f14ac67 Fixed the examples and tests to follow the Rust 2018 style. 2019-01-21 17:00:35 -05:00
cdb4efe1b1 Now correctly tests not using the Rust standard library.
Added the ability to correctly create a TestLogger when not
using the standard library. This was done by creating a constant
TestLogger and a set_logger function that returned a constant pointer
to the constant logger.
2017-01-12 15:07:53 -05:00
13a2cee826 The Logger system can now be expanded with external logging libraries.
While external loggers can be used, if you are compiling with
--features use_std, then it will default to just printing everything
to the stdout unless a logger is created.

This library can be used without the STD library, however, you will have
to write an external logger.
2016-08-24 11:41:48 -04:00
Jason Travis Smith
d6a6f5107c Error logging now generates a panic.
This means that the error macro must be called last in the example.
2016-01-28 14:15:21 -05:00
Jason Travis Smith
d1e6e8f4fe Making the macro not require a use statement. 2016-01-28 13:54:21 -05:00
Jason Travis Smith
200be2c0db Turned this into a basic and simple logging system for now.
Currently the library will handle using the log macros to directly
call println!(). Later this can be set to actually log the errors.
2016-01-10 04:24:31 -05:00