ably-cocoa
ably-cocoa copied to clipboard
Decide how to handle logging in public class methods that don't have access to a logger
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?