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
While this approach is fine, it restrains the user. What if I wanted to forward the logs to a file or customize the log message?
Proposed Solution
Using something like LogTape gives the user full capability of configuring his logger as he needs, including sinks ( i.e exporters ) and formatters.
While this issue takes the Nextjs package as an example, this can be applied to all JS-based SDKs.
Note
I am willing to add this for the Nextjs SDK as my project currently depends on it
Context
@openpanel/nextjscurrently logs operations like the following:While this approach is fine, it restrains the user. What if I wanted to forward the logs to a file or customize the log message?
Proposed Solution
Using something like LogTape gives the user full capability of configuring his logger as he needs, including sinks ( i.e exporters ) and formatters.
While this issue takes the Nextjs package as an example, this can be applied to all JS-based SDKs.
Note
I am willing to add this for the Nextjs SDK as my project currently depends on it