Function arcdps::exports::log_to_window

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

Logs a message to ArcDPS’ logger window.

Text can be colored in a HTML-like way: <c=#aaaaaa>colored text</c>.

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

§Examples

use arcdps::exports;

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