| Inherits from | NSObject |
| Declared in | GBLog.h<br />GBLog.m |
Logging helper class with common log-related functionality.
+ setLogLevel:
Sets logging level to the given value.
+ setLogLevelFromVerbose:
Sets logging level from the given verbose command line argument value.
+ logFormatterForLogFormat:
Returns proper log formatter based on the given log format command line argument value.
+ setLogLevel:
Sets logging level to the given value.
+ setLogLevelFromVerbose:
Sets logging level from the given verbose command line argument value.
+ logFormatterForLogFormat:
Returns proper log formatter based on the given log format command line argument value.
Returns proper log formatter based on the given log format command line argument value.
+ (id < DDLogFormatter >)logFormatterForLogFormat:(NSString *)levelReturns the log formatter corresponding to the given value.
Returns proper log formatter based on the given log format command line argument value.
The method returns GBLogFormat0Formatter , GBLogFormat1Formatter , GBLogFormat2Formatter , GBLogFormat3Formatter or GBLogFormat4Formatter instance, based on the given value. The value is forced into a valid range beforehand.
GBLog.hGBLog.mSets logging level to the given value.
+ (void)setLogLevel:(NSUInteger)valueSets logging level to the given value.
Sending this message has the same effect as setting the value of kGBLogLevel directly.
GBLog.hGBLog.mSets logging level from the given verbose command line argument value.
+ (void)setLogLevelFromVerbose:(NSString *)verbositySets logging level from the given verbose command line argument value.
The method converts the given command line argument value to a proper log level and sends it to @c setLogLevel: method. The value is forced into a valid range beforehand.
GBLog.hGBLog.m