fn on_load()
{
    // Set up logging to the proejct directory.
    use log::LevelFilter;
    simple_logging::log_to_file(
        &format!("{}\\debug.log", env!("CARGO_MANIFEST_DIR")),
        LevelFilter::Trace,
    )
    .unwrap();
}
/// Called when the DLL is loaded.
///
/// Sets up logging to the Cargo.toml directory for debug purposes.
Called when the DLL is loaded.
Sets up logging to the Cargo.toml directory for debug purposes.
Called when the DLL is loaded . Sets up logging to the Cargo . toml directory for debug purposes .
fn on_load()
{
    // Set up logging to the proejct directory.
    use log::LevelFilter;
    simple_logging::log_to_file(
        &format!("{}\\debug.log", env!("CARGO_MANIFEST_DIR")),
        LevelFilter::Trace,
    )
    .unwrap();
}
fn on_load ( ) { // Set up logging to the proejct directory. use log :: LevelFilter ; simple_logging :: log_to_file ( & format ! ( " \\ " env ( " " ) ) , LevelFilter :: Trace , ) . unwrap ( ) ; }
Called when the DLL is loaded.
Called when the DLL is loaded .