Function log_info

Source
pub async fn log_info(message: &str, source: &str) -> Result<(), GlobalError>
Expand description

Log information This function logs information messages.

§Parameters

  • message: Message to be logged
  • source: Source of the log

§Returns

Result indicating whether the operation was successful

§Example

use rustfs_obs::log_info;

async fn example() {
   let _ = log_info("This is an information message", "example").await;
}