All Projects → PTEz → Lumberjackconsole

PTEz / Lumberjackconsole

Licence: apache-2.0
On-device CocoaLumberjack console with support for search, adjust levels, copying and more.

Projects that are alternatives of or similar to Lumberjackconsole

Electron Log
Just a simple logging module for your Electron application
Stars: ✭ 765 (+273.17%)
Mutual labels:  console, log
Signale
Highly configurable logging utility
Stars: ✭ 8,575 (+4082.93%)
Mutual labels:  console, log
Logging Helpers
Basic template helpers for printing messages out to the console. Useful for debugging context in templates. Should work with any template engine.
Stars: ✭ 5 (-97.56%)
Mutual labels:  console, log
Console
KubeSphere Console is the web-based UI for KubeSphere clusters.
Stars: ✭ 270 (+31.71%)
Mutual labels:  console, dashboard
Kubebox
⎈❏ Terminal and Web console for Kubernetes
Stars: ✭ 1,855 (+804.88%)
Mutual labels:  console, dashboard
Consola
Elegant Console Logger for Node.js and Browser 🐨
Stars: ✭ 3,461 (+1588.29%)
Mutual labels:  console, log
Tiledesk Dashboard
The Tiledesk dashboard. Tiledesk is an Open Source Live Chat platform written in NodeJs, firebase and Angular.
Stars: ✭ 53 (-74.15%)
Mutual labels:  console, dashboard
logt
🖥️ A colourful logger for the browser
Stars: ✭ 35 (-82.93%)
Mutual labels:  console, log
Console Badge
🎨 Create simple badges in the browser console
Stars: ✭ 130 (-36.59%)
Mutual labels:  console, log
Rainbow
Delightful console output for Swift developers.
Stars: ✭ 1,606 (+683.41%)
Mutual labels:  console, log
Log
Console.log with style.
Stars: ✭ 2,766 (+1249.27%)
Mutual labels:  console, log
Go Logger
一个简单而强大的 golang 日志工具包,支持同步和异步输出到 命令行,文件, api 接口,文件支持按文件大小,文件行数,日期切分;A simple and powerful golang logging toolkit that supports synchronous and asynchronous output to the console, file, API interfaces, file support by file size, file line number, date sharding.
Stars: ✭ 152 (-25.85%)
Mutual labels:  console, log
UE4 MagicConsole
Enhanced UE4 output log widget
Stars: ✭ 71 (-65.37%)
Mutual labels:  console, log
Console
OS X console application.
Stars: ✭ 298 (+45.37%)
Mutual labels:  console, log
debug.js
Debugger of JavaScript, by JavaScript, for JavaScript
Stars: ✭ 19 (-90.73%)
Mutual labels:  console, log
Loglevelnext
A modern logging library for Node.js that provides log level mapping to the console
Stars: ✭ 33 (-83.9%)
Mutual labels:  console, log
consono
The most correct, informative, appealing and configurable variable inspector for JavaScript
Stars: ✭ 17 (-91.71%)
Mutual labels:  console, log
ptkdev-logger
🦒 Beautiful Logger for Node.js: the best alternative to the console.log statement
Stars: ✭ 117 (-42.93%)
Mutual labels:  console, log
Simple Console
Add an elegant command-line interface to any page
Stars: ✭ 107 (-47.8%)
Mutual labels:  console, log
Quicklogger
Library for logging on files, console, memory, email, rest, eventlog, syslog, slack, telegram, redis, logstash, elasticsearch, influxdb, graylog, Sentry, Twilio, ide debug messages and throw events for Delphi/Firemonkey/freepascal/.NET (Windows/Linux/OSX/IOS/Android).
Stars: ✭ 137 (-33.17%)
Mutual labels:  console, log

LumberjackConsole

Platform: iOS Version: 3.6.0 License: Apache 2.0 Dependency Status Build Status

On-device CocoaLumberjack console with support for search, adjust levels, copying and more.

Screenshot 1 Screenshot 2

Features

  • Sypport dynamic log levels.
  • Support log modules.
  • Auto-enable XcodeColors when present.
  • No need to declare ddLogLevel.
  • Filter messages by level and text contents.
  • Expand/collapse long messages.
  • Long tap to copy log messages.
  • Insert markers.
  • Clear console.

ToDo

  • Improve rotation support.
  • Read crash reports.
  • Keep scrolled area when not at the top.

Demo

A demo project is included in the repository.

Installation

Simply add pod 'LumberjackConsole' to your CocoaPods' Podfile.

platform :ios, '8.0'
use_frameworks!

pod 'CocoaLumberjack'
pod 'LumberjackConsole', :configurations => ['Debug']

# Optional for dynamic log levels
pod 'NBULog'

Documentation

http://cocoadocs.org/docsets/LumberjackConsole/

Usage

a) Dashboard Logger

Swift

Import the module:

import LumberjackConsole

Add its logger for testing builds:

#if !PRODUCTION
    PTEDashboard.shared().show()
#endif

Objective-C

Import the dashboard header:

#import <LumberjackConsole/PTEDashboard.h>
#import <CocoaLumberjack/CocoaLumberjack.h> //if you see error Implicit declaration of function 'DDLogInfo' is invalid in C99

Add its logger for testing builds:

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
#ifndef PRODUCTION
        // Add the console dashboard for testing builds
        [PTEDashboard.sharedDashboard show];                // <- If not using NBULog
        // [NBULog addDashboardLogger];                     // <- If using NBULog
        
        DDLogInfo(@"Added console dashboard");
#endif
        
        // ...
}

b) Embeded Console

Simply add a PTEConsoleTableView instance to your view hierarchy.

More

When coupled with NBULog you can dynamically adjust log levels from within the dashboard!

Screenshot 3

Your log level settings are saved to NSUserDefaults.

License

Copyright 2013-2017 PTEz.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. 
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the 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].