tslog
tslog copied to clipboard
Feature Request: Add stronger types to transport
Description / Use Case for a Feature
I know that logs can generally be in multiple formats, but it seems like _meta is always available in attachTransport. Additionally, I'm trying to automatically capture exceptions into Sentry. So far I'm just loosely checking if nativeError is attached and if so I send that to sentry. Would be nice if that can be more strongly typed as one of the formats of attachTransport