godot-logger
Logger for godot-rust projects
godot-logger is a logger implementation for godot-rust projects that prints
logs using godot_print!.
Usage
Start by adding godot-logger and log as dependencies to your project's
Cargo.toml.
[]
= "0.3.0"
= "0.4"
Then configure and initialize the logger in the init method that is passed to
godot_init!.
use *;
use ;
use ;
godot_init!;
The following will be printed in the Output console inside Godot:
2021-09-25 19:29:25 DEBUG godot-logger Initialized the logger
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.