UNPKG

@sap-cloud-sdk/util

Version:

SAP Cloud SDK for JavaScript general utilities

13 lines (12 loc) 398 B
import type { TransformableInfo } from 'logform'; /** * Format for local logging. */ export declare const local: import("logform").Format; /** * Gets the stack of the given error if available, otherwise the message. * @param info - Object to be transformed. * @returns The message string to be used. * @internal */ export declare function getMessageOrStack(info: TransformableInfo): string;