Default LogWriter config #153
kpgalligan
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently we use CommonWriter for the default, and provide
platformLogWriter()
as an expect to simplify loading each platform's "preferred" LogWriter. Using the platform default would probably make general sense, although I've found thatNSLogWriter
on iOS is more difficult to use when doing local debug in Xcode thanCommonWriter
.I think either calling
platformLogWriter()
, or maybe adding a new function likedevLogWriter()
, and using CommonWriter instead of NSLogWriter on iOS, might be a better option for default. Android and JS certainly would be better off with their platform defaults.Beta Was this translation helpful? Give feedback.
All reactions