ably-cocoa icon indicating copy to clipboard operation
ably-cocoa copied to clipboard

Decide how to handle logging in public class methods that don't have access to a logger

Open lawrence-forooghian opened this issue 1 year ago • 1 comments

We've introduced a +[ARTInternalLogHandler classMethodLogger], to be used in this situation. Currently it creates a logger whose log level is .none, so it doesn't emit any log messages. Let's decide what the right thing to do is here.

Also, if we do end up deciding not to log any messages, then might it be better to allow nil loggers throughout the codebase instead of having to create a no-op logger?

┆Issue is synchronized with this Jira Task by Unito

lawrence-forooghian avatar Apr 13 '23 00:04 lawrence-forooghian