All Projects → skooal → CocoaLogKit

skooal / CocoaLogKit

Licence: MIT license
Log framework based on CocoaLumberjack and ZipArchive

Programming Languages

objective c
16641 projects - #2 most used programming language
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to CocoaLogKit

Cocoalumberjack
A fast & simple, yet powerful & flexible logging framework for Mac and iOS
Stars: ✭ 12,584 (+73923.53%)
Mutual labels:  log, cocoalumberjack
bk-log
蓝鲸日志平台是为了解决运维场景中查询日志难的问题而推出的一款SaaS,基于业界主流的全文检索引擎,通过蓝鲸智云的专属agent进行日志采集,无需登录各台机器,集中管理所有日志。
Stars: ✭ 102 (+500%)
Mutual labels:  log
rust cms
使用Rust编写一个CMS(内容管理系统)可以做为个人博客,公司网站
Stars: ✭ 32 (+88.24%)
Mutual labels:  log
Klog
🎼 A Kotlin log lib, making the output log more elegant and more beautiful.
Stars: ✭ 21 (+23.53%)
Mutual labels:  log
TLog
Android日志工具
Stars: ✭ 16 (-5.88%)
Mutual labels:  log
log-master
split the log
Stars: ✭ 28 (+64.71%)
Mutual labels:  log
Log
Daily logging tool and data visualizer.
Stars: ✭ 30 (+76.47%)
Mutual labels:  log
haminer
[mirror] Library and program to parse and forward HAProxy HTTP logs
Stars: ✭ 22 (+29.41%)
Mutual labels:  log
log-target-file
Yii Logging Library - File Target
Stars: ✭ 19 (+11.76%)
Mutual labels:  log
fakessh
A dockerized fake SSH server honeypot written in Go that logs login attempts.
Stars: ✭ 42 (+147.06%)
Mutual labels:  log
RFKit
Toolkit for daily Cocoa development. Since 2012.
Stars: ✭ 20 (+17.65%)
Mutual labels:  log
base
小而美的业务基础框架,也是本项目的核心
Stars: ✭ 47 (+176.47%)
Mutual labels:  log
kuafu
This is a tool library that includes log, fsm, state machine...
Stars: ✭ 83 (+388.24%)
Mutual labels:  log
crab
Golang API Framework
Stars: ✭ 57 (+235.29%)
Mutual labels:  log
sprout
Golang logging library supporting log retrieval.
Stars: ✭ 85 (+400%)
Mutual labels:  log
LogiAM
基于日志模板构建,采集任务动态管控、数据质量精确度量,一站式日志采集平台
Stars: ✭ 199 (+1070.59%)
Mutual labels:  log
loggie
A lightweight, cloud-native data transfer agent and aggregator
Stars: ✭ 844 (+4864.71%)
Mutual labels:  log
logtail
logtail is a log tailing utility, support tailing multiple commands output stream, transferring matching content to file/webhook(like dingtalk)
Stars: ✭ 33 (+94.12%)
Mutual labels:  log
clue
a extremely high performance log library for android. 高性能的Android日志库
Stars: ✭ 27 (+58.82%)
Mutual labels:  log
ULog
Unified cross-platform logging framework for C, C++, Objective-C, Swift, ASL and C#.
Stars: ✭ 13 (-23.53%)
Mutual labels:  log

LogKit

Log framework based on CocoaLumberjack and ZipArchive

Features

  • Easy to test and collect problems that are difficult to reproduce,we can send logs to mailBox without Xcode
  • Output different log information with corresponding colors in the Xcode console or iPhone depending on the log level(Xcode console requiredXcodeColors plug-in)

Preview

GIF
DebugView
assistiveButton debugView logMail XcodeConsole
Preview/en_0.png Preview/en_1.png Preview/en_3.png Preview/xcode_console.png

Usage

    DLogTrace();            // ouput current function
    
    DLogVerbose(@"");       // ouput verbose level log message
    
    DLogDebug(@"");     //  ouput debug level log message
    
    DLogInfo(@"");      //  ouput info level log message
    
    DLogWarn(@"");      //  ouput warn level log message
    
    DLogError(@"");     //  ouput error level log message

Configuration

Configuration Settings in project's AppDelegate.m

 // #import 'LogKit.h' 
 // #import <LogKit.h>
 
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    [LogKit addTTYLogger];		// Configure and add a DDTTYLogger (Apple System Log and Xcode console)
    
    [LogKit addFileLogger];		// Send the log to the file (default for non debug builds),requied this method if you want send log files to mail
    
#ifdef DEBUG
    [LogKit addDashboardLogger];		//  Configure and add a recorder with console logs
#endif
    
    [LogKit setDefaultMailAddress:@[@"[email protected]"]];		// Sets the mailbox collection that receives log files (default is empty)
    
    [LogKit setDefaultLogPassword:@"101001"];		// Set the password for the log file (default is empty)
    
    return YES;
}

Installation

source 'https://github.com/CocoaPods/Specs.git'

pod 'CocoaLogKit'

License

CocoaLogKituse MIT license

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].