Function simics::api::logging::log_error

source ·
pub fn log_error<S>(device: *mut ConfObject, msg: S) -> Result<()>
where S: AsRef<str>,
Expand description

Log an info-level message through the SIMICS logging functions

§Arguments

  • device - The device to emit this log message through
  • msg - The message to log

§Notes

The macros [simics::error], [simics::warn], [simics::info], [simics::debug], and [simics::trace] are more flexible and user friendly. They should be used instead.

§Context

All Contexts