Function arcdps::exports::log_to_file

source ·
pub fn log_to_file(message: impl Into<String>) -> Result<(), NulError>
Expand description

Logs a message to ArcDPS’ log file arcdps.log.

Returns an error if the passed message could not be converted to a C-compatible string.

§Examples

use arcdps::exports;

exports::log_to_file("message from my plugin");