You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I frequently work with libraries that expose their logging API via LogStr, e.g. persistent. I would like to route these log messages to a different logging system but LogStr does not export sufficient constructors to do so. I was wondering if you'd be open to creating an Internal module tree and exporting basically what you've got in System.Log.FastLogger.LogStr right now. I'd even say you could just rename that module. This would of course carry the caveat that the API can break any time under the Internal module.
As it stands right now, for every log message I will have to show it to convert it from a builder to a string, then convert that back into the same exact Builder type for my log sink.
The text was updated successfully, but these errors were encountered:
I frequently work with libraries that expose their logging API via
LogStr
, e.g. persistent. I would like to route these log messages to a different logging system butLogStr
does not export sufficient constructors to do so. I was wondering if you'd be open to creating anInternal
module tree and exporting basically what you've got inSystem.Log.FastLogger.LogStr
right now. I'd even say you could just rename that module. This would of course carry the caveat that the API can break any time under the Internal module.As it stands right now, for every log message I will have to
show
it to convert it from a builder to a string, then convert that back into the same exactBuilder
type for my log sink.The text was updated successfully, but these errors were encountered: