All Projects → saschagrunert → Rain

saschagrunert / Rain

Licence: mit
Visualize vertical data inside your terminal 💦

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Rain

Logcustom
A simple log customization tool based on golang 一个基于golang简单的日志定制化工具
Stars: ✭ 46 (-45.24%)
Mutual labels:  log, logger
Coolog
A expandable and flexible log framework for iOS. iOS一个灵活、可扩展的日志组件。
Stars: ✭ 82 (-2.38%)
Mutual labels:  log, logger
Logutils
More convenient and easy to use android Log manager
Stars: ✭ 1,035 (+1132.14%)
Mutual labels:  log, logger
Python Stream
更优雅的流式数据处理方式
Stars: ✭ 20 (-76.19%)
Mutual labels:  data, log
Android Filelogger
A general-purpose logging library with built-in support to save logs to file efficiently.
Stars: ✭ 70 (-16.67%)
Mutual labels:  log, logger
Loglevelnext
A modern logging library for Node.js that provides log level mapping to the console
Stars: ✭ 33 (-60.71%)
Mutual labels:  log, logger
Plog
Portable, simple and extensible C++ logging library
Stars: ✭ 1,061 (+1163.1%)
Mutual labels:  log, logger
Objectlogger
A powerful and easy-to-use operational logging system that supports analysis of changes in object properties. 强大且易用的操作日志记录系统,支持对象属性的变化分析。
Stars: ✭ 378 (+350%)
Mutual labels:  log, logger
Signale
Highly configurable logging utility
Stars: ✭ 8,575 (+10108.33%)
Mutual labels:  log, logger
Yii2 Psr Log Target
Yii 2.0 log target that is able to write messages to PSR-3 compatible logger
Stars: ✭ 58 (-30.95%)
Mutual labels:  log, logger
Gollum
An n:m message multiplexer written in Go
Stars: ✭ 883 (+951.19%)
Mutual labels:  log, logger
Loguru
Python logging made (stupidly) simple
Stars: ✭ 10,510 (+12411.9%)
Mutual labels:  log, logger
Laravel Log
Simple API to write logs for Laravel.
Stars: ✭ 19 (-77.38%)
Mutual labels:  log, logger
Activity
A PHP API to log anything anywhere
Stars: ✭ 44 (-47.62%)
Mutual labels:  log, logger
Eylogviewer
A simple viewer to see your app's logs on your iDevice in realtime.
Stars: ✭ 16 (-80.95%)
Mutual labels:  log, logger
Serverless Es Logs
A Serverless plugin to transport logs to ElasticSearch
Stars: ✭ 51 (-39.29%)
Mutual labels:  log, logger
Baize
白泽自动化运维系统:配置管理、网络探测、资产管理、业务管理、CMDB、CD、DevOps、作业编排、任务编排等功能,未来将添加监控、报警、日志分析、大数据分析等部分内容
Stars: ✭ 296 (+252.38%)
Mutual labels:  data, log
Cocoadebug
iOS Debugging Tool 🚀
Stars: ✭ 3,769 (+4386.9%)
Mutual labels:  log, logger
Logger
Simple logger with stores inspector
Stars: ✭ 58 (-30.95%)
Mutual labels:  log, logger
Logtofile
Android一个简单实用把Log日志打印到手机本地文件,可以自行取出来上传到服务器开源代码
Stars: ✭ 74 (-11.9%)
Mutual labels:  log, logger

rain

Build Status Coverage Status master doc rain dependency status License MIT Crates.io doc.rs

Visualize vertical data inside your terminal 💦

This library helps you to display line based data vertically within your terminal. The color of the actual graph represents its value, whereas blue is low and red is high. These color bounds will be calculated automatically during runtime. Beside this, the terminal dimensions are adapted during runtime, too. If no data was added to a line, their terminal line is dashed.

Example

Example usage

use rain::Graph;

// Get a drawing area
let mut graph = Graph::new();

// Get some line identifiers
let l1 = "Line 1";
let l2 = "Line 1";
let l3 = "Line 1";

// Add some values and print
assert!(graph.add(l1, 0).is_ok());
assert!(graph.add(l2, 0).is_ok());
graph.print();

// Add more values and print
assert!(graph.add(l2, 5).is_ok());
assert!(graph.add(l3, 10).is_ok());
graph.print();

// Remove a line and print
assert!(graph.remove(l1).is_ok());
graph.print();

Contributing

You want to contribute to this project? Wow, thanks! So please just fork it and send me a pull request.

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].