A protocol describing a place logs from SDLLogManager are logged to
A simple convenience initializer to create the object. This should not start up the logger.
+ (nonnull id<SDLLogTarget>)logger;
static func logger() -> SDLLogTarget
An instance of the logger.
A call to setup the logger in whatever manner it needs to do so.
func setupLogger() -> Bool
Whether or not the logger set up correctly.
Log a particular log using the model and the formatted log message to the target.
- (void)logWithLog:(nonnull SDLLogModel *)log formattedLog:(nonnull NSString *)stringLog;
func log(withLog log: SDLLogModel, formattedLog stringLog: String)
The log model, if you can log additional data, such as the log level, use this
The formatted message
The log target should be torn down. e.g. file handles should be closed