Crate fone

Crate fone 

Source
Expand description

§Fone Crate

The fone crate provides essential utilities for arithmetic operations ,logging functionalities and time functions.

It is designed to be lightweight, efficient, and easy to integrate into any Rust project.

§Usage

Add the following to your Cargo.toml:

[dependencies]
fone = "a.b.c"

Re-exports§

pub use logf::*;
pub use log::*;
pub use datetime::*;

Modules§

datetime
The datetime module provides utilities for working with date and time.
log
logf
The log logf module provides utilities for working with log.

Macros§

logd
Macro to automatically capture file and line information for debug logs
loge
Macro to automatically capture file and line information for error logs
logfd
Macro to automatically capture file and line information for debug logs
logfe
Macro to automatically capture file and line information for error logs
logfi
Macro to automatically capture file and line information for info logs Logs an informational message to a file.
logfw
Macro to automatically capture file and line information for warning logs
logi
Macro to automatically capture file and line information for info logs Logs an informational message to the console.
logw
Macro to automatically capture file and line information for warning logs

Functions§

add
Adds two integers and returns their sum.