swift-log icon indicating copy to clipboard operation
swift-log copied to clipboard

Make StreamLogHandler initializers public

Open grdsdev opened this issue 2 years ago • 0 comments

Feature Requests

I'd like to reuse the logic for formatting the log message and prettify the metadata from StreamLogHandler, but using my own TextOutputStream implementation.

We'd need to make the StreamLogHandler initializers public to pass a different stream.

Opening this issue to discuss if that's something we want to have, if yes I can have a PR in place for review.

grdsdev avatar Jul 18 '23 12:07 grdsdev