17 lines
452 B
Rust
17 lines
452 B
Rust
use arcade_logging::init_logging;
|
|
use log::{error, info, warn};
|
|
use tracing::{debug, trace};
|
|
|
|
fn main() {
|
|
// Initialize the logging system
|
|
init_logging("hello-world");
|
|
|
|
// Example logging with `log` and `tracing`
|
|
info!("This is an info log message");
|
|
warn!("This is a warning message");
|
|
error!("An error occurred!");
|
|
|
|
debug!("Debug log: This is a detailed debug message.");
|
|
trace!("Trace log: For detailed tracing.");
|
|
}
|