Logs a message at the error level.
import { error } from '@tauri-apps/plugin-log';const err_info = "No connection";const port = 22;error(`Error: ${err_info} on port ${port}`); Copy
import { error } from '@tauri-apps/plugin-log';const err_info = "No connection";const port = 22;error(`Error: ${err_info} on port ${port}`);
Optional
Logs a message at the error level.