MCLogger 0.7.0

MCLogger 0.7.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release May 2020

Maintained by Rake Yang.



 
Depends on:
CocoaLumberjack~> 3.0
MJExtension~> 3.0
SocketRocket~> 0.5
SAMKeychain~> 1.5
 

MCLogger 0.7.0

  • By
  • Rake Yang

MCLogger

Build Status Version License Platform

MCLogger is a fast & simple, yet powerful & flexible logging framework for Mac and iOS base on CocoaLumberJack.

安装

MCLogger is available through CocoaPods. To install it, simply add the following line to your Podfile:

platform :ios, '9.0'
pod 'MCLogger'

使用

#import <MCLogger/MCLogger.h>

- (void)testMethod {
  [DDLog addLogger:[DDTTYLogger sharedInstance]];
    NSString *appKey = [NSBundle.mainBundle.infoDictionary objectForKey:@"CFBundleIdentifier"];
    [MCLogger.sharedInstance startWithAppKey:appKey domain:[NSURL URLWithString:@"wss://yourdomain/log"]];
}

License

MCLogger is available under the MIT license. See the LICENSE file for more info.