483ccd455c
Adjusting for the new repository locations.
2017-04-06 12:16:27 -04: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
eb03b1a1ea
Fixed the generate_panic macro.
...
This now just passes all the arguments to panic directly. This appears
to work well with or without the Rust standard library.
2017-01-12 15:04:15 -05:00
77d217069f
Get logger now returns the logger properly.
...
It was incorrectly testing the state and would only return a logger
while it was in the initializing state. This is the opposite of what
was desired.
2016-09-06 11:55:20 -04:00
04152081be
Any missing documentation will now be considered a warning.
2016-08-24 12:57:44 -04:00
76051cc2c2
Adding a README and removing the Cargo.lock file.
...
The Cargo.lock file is not needed for libraries.
2016-08-24 12:21:53 -04: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
c655eca358
Committing the current files prior to reformatting.
2016-06-27 18:22:25 -04:00
Jason Travis Smith
e52418d3bf
The debug! macro now checks if we are in a debug build.
2016-03-19 16:55:17 -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
c15daad3b1
Using the Path in the log block to hopefully make using the library easier.
2016-01-28 13:49:22 -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
Jason Smith
38b626070a
A simple start at a logging facility.
2015-12-09 17:51:31 -05:00
Jason Smith
3b1567d357
Initial library commit.
2015-12-03 16:24:16 -05:00