TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Nov 2015 |
Maintained by Francesco.
To run the example project, clone the repo, and run pod install
from the Example directory first.
FPGSilentLogger logs all generated erros and view controller lifecycle automatically!
By swizzling methods of our interest all instances of NSError
and UIViewController
are magically logged! We use JRSwizzle
so you are sure that this package Does The Right Thing™.
Simply conform to FPGLoggerDelegate
and call + [FPGLogger setDelegate:]
with your conformant object!
#pragma mark - FPGLoggerDelegate
- (void)logString:(nonnull NSString *)string {
CLS_Log(@"%@", string);
}
- (nullable NSString *)logPrefix {
return @"[FPG] ";
}
FPGSilentLogger is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "FPGSilentLogger"
Francesco Perrotti-Garcia, [email protected]
FPGSilentLogger is available under the MIT license. See the LICENSE file for more info.