logError

Logs an error to the server and the console.

Usage

import { logError } from "@olenbetong/appframe-core";

try {
// ...
} catch (error) {
await logError(error);
}

API

export declare function logError(error: any): Promise<any>;

Last updated

Was this helpful?