MBModuleLogRecorder Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | MBModuleLog.h |
+ enable
required method
Called prior to any first call to logMessage:
to notify the log recorder
that it may be used in the future.
+ (void)enable
Discussion
Implementations would typically perform any needed set-up here.
Declared In
MBModuleLog.h
+ logMessage:atSeverity:callingObject:callingSignature:callingFilePath:callingFileLine:
required method
Records the log message to the underlying logging subsystem.
+ (void)logMessage:(nonnull NSString *)msg atSeverity:(MBLogSeverity)severity callingObject:(nullable id)caller callingSignature:(nonnull NSString *)signature callingFilePath:(nonnull NSString *)filePath callingFileLine:(NSUInteger)fileLine
Parameters
msg |
The message to record. |
---|---|
severity |
The severity level of the log message. |
caller |
The object responsible for issuing this request to
log |
signature |
The signature of the calling method or function. |
filePath |
The filesystem path of the source code file containing the calling method or function. |
fileLine |
The line number within |
Declared In
MBModuleLog.h