Version:
type
ErrorLogFunction
A function that logs an error with optional structured data
typescript
type ErrorLogFunction = (error: Error, data: object) => voidWas this page helpful?
A function that logs an error with optional structured data
type ErrorLogFunction = (error: Error, data: object) => voidWas this page helpful?