error
error(
message
,options?
):Promise
<void
>
Defined in: index.ts:148
Logs a message at the error level.
string
import { error } from '@tauri-apps/plugin-log';
const err_info = "No connection";const port = 22;
error(`Error: ${err_info} on port ${port}`);
Promise
<void
>
© 2025 Tauri Contributors. CC-BY / MIT