pub async fn log_warn(message: &str, source: &str) -> Result<(), GlobalError>
Expand description
Log warning This function logs warning messages.
§Parameters
message
: Message to be loggedsource
: Source of the log
§Returns
Result indicating whether the operation was successful
§Example
use rustfs_obs::log_warn;
async fn example() {
let _ = log_warn("This is a warning message", "example").await;
}