e027e2ee3e
[ #1 ] Fixed the use std feature build for Rust 2021.
...
This will bring the library into compliance with the new Rust
2021 version.
2025-03-02 18:33:38 -05:00
45efdb8ccb
[ #1 ] Updated the library to compile for Rust 2021.
...
This was mostly an issue of changing the way Trait objects were
implemented now that you are supposed to use the dyn keyword.
Also changed some atomic operations to use the new non-deprecated
functions.
2025-02-19 19:47:37 -05:00
a1ebb45e35
Rust 2018 change.
...
Changing the crate path start back to self as it is a little more
consistent with how modules are handled.
2019-01-21 20:53:33 -05:00
619f14ac67
Fixed the examples and tests to follow the Rust 2018 style.
2019-01-21 17:00:35 -05:00
d91d4c16f2
Fixed the local macro visibility.
...
To use the local macros the $crate keyword needed to be used. This now
means that the macro will not work with Rust 2015 edition.
2019-01-21 17:00:07 -05:00
c84c65540e
Fixed the paths to use the new crate path start introduced in Rust 2018.
2019-01-21 16:59:53 -05:00
f1ebfc465f
Fixed the library to use the new Rust 2018 module system.
2019-01-19 23:46:05 -05:00
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