node-draftlog - ๐Ÿ“œ Create updatable log lines into the terminal, and give life to your logs!

  •        104

It allows you to re-write a line of your log after being written. Just like post 'updating'. This is the building block for any dynamic element such as progress bars, loading status, animations, checkboxes and so on.It does that by keeping track of the current lines of code written through the stream, and moving the cursor up to the line of the LogDraft you created previously, and updating its content.

https://github.com/ivanseidel/node-draftlog#readme

Tags
Implementation
License
Platform

   




Related Projects

Chalk - Terminal string styling done right

  •    Javascript

Chalk comes with an easy to use composable API where you just chain and nest the styles you want. Chain styles and call the last one as a method with a string argument. Order doesn't matter, and later styles take precedent in case of a conflict. This simply means that chalk.red.yellow.green is equivalent to chalk.green.

Logtron - A logging machine for NodeJS

  •    Javascript

Logtron is a realtime logging library for NodeJS. Logger takes a set of meta information for the logger, that will be used by each backend to customize the log formatting and a set of backends that you want to be able to write to.Logger returns a logger object that has some method names in common with console.

node-charm - ansi control sequences for terminal cursor hopping and colors

  •    Javascript

Use ansi terminal characters to write colors and cursor positions.Charm objects pass along the data events from their input stream except for events generated from querying the terminal device.

signale - ๐Ÿ‘‹ Hackable console logger

  •    Javascript

Hackable and configurable to the core, signale can be used for logging purposes, status reporting, as well as for handling the output rendering process of other node modules and applications. Visit the contributing guidelines to learn more on how to translate this document into more languages.


ansi_up - A javascript library that converts text with ANSI terminal codes into colorful HTML

  •    Javascript

ansi_up is a simple, easy to use library that provides a streaming API to transform text containing ANSI color escape codes into proper HTML. It can also transform any text that looks like a URL into an HTML anchor tag. This module is a single Javascript file with no dependencies. It is a UMD style module so it can be utilized in a browser, in node.js (CommonJS), or with AMD (require.js). The source code was compiled from TypeScript and its type description ships with the NPM. This code has been used in production since 2011 and is actively maintained.

signale - Highly configurable logging utility

  •    Javascript

Hackable and configurable to the core, signale can be used for logging purposes, status reporting, as well as for handling the output rendering process of other node modules and applications. Read this document in: ็ฎ€ไฝ“ไธญๆ–‡.

tracer - A powerful and customizable logging library for node.js

  •    Javascript

A powerful and customizable logging library for node.js. support color console with timestamp, line number, method name, file name and call stack. you can set transport to file, stream, database(ex: mongodb and clouddb, simpledb). keywords: log, logger, trace

tinylog - tinylog is a lightweight logging framework for Java and Android.

  •    Java

tinylog is a lightweight open-source logging framework for Java and Android, optimized for ease of use. The logger of tinylog is static, so it isn't necessary to create an instance of the logger before logging. By default all log entries of the level info or higher are written to the console.

cli-color - Colors and formatting for the console

  •    Javascript

Colors, formatting and other goodies for the console. This package won't mess with built-ins and provides neat way to predefine formatting patterns, see below. Styles will display correctly if font used in your console supports them.

console.log-wrapper - Clear console logging for every browser

  •    Javascript

Log to the console — even legacy browsers without a console. Just pass any data to log() and you'll see it printed clearly and well-structured in the console. If the browser doesn't have a console, Firebug Lite will load. You can pass any variable type: strings, objects, arrays, functions, etc.

rainbow - Ruby gem for colorizing printed text on ANSI terminals

  •    Ruby

Rainbow is a ruby gem for colorizing printed text on ANSI terminals. It provides a string presenter object, which adds several methods to your strings for wrapping them in ANSI escape codes. These codes when printed in a terminal change text attributes like text color, background color, intensity etc.

consola - ๐Ÿจ Elegant Console Logger

  •    Javascript

Choose between one of the built-in reporters or bring own reporter. By default FancyReporter is registered for modern terminals or BasicReporter will be used if running in limited environments such as CIs.

colorama - Simple cross-platform colored terminal text in Python

  •    Python

Makes ANSI escape character sequences (for producing colored terminal text and cursor positioning) work under MS Windows. ANSI escape character sequences have long been used to produce colored terminal text and cursor positioning on Unix and Macs. Colorama makes this work on Windows, too, by wrapping stdout, stripping ANSI sequences it finds (which would appear as gobbledygook in the output), and converting them into the appropriate win32 calls to modify the state of the terminal. On other platforms, Colorama does nothing.

notty - A new kind of terminal

  •    Rust

notty is a virtual terminal like xterm, gnome-vte, sh, or rxvt. Unlike these programs, notty is not intended to emulate a DEC VT-series physical video terminal, or any other physical device. Instead, notty is an experimental project to bring new features to the command-line which would not have been possible for the physical terminals other terminals emulate. Current command-line tools have stagnated (if you prefer, 'stabilized') around the ECMA-48/ISO 6429/ANSI X3.64 escape code protocol, which is defined on the basis of the capabilities of 1980s video terminal devices. Essentially all terminals in use today are virtual terminals being run on devices which are significantly more capable than these ancient machines, and yet the terminal environment has not kept pace with these developments. The last revision of the ANSI escape code protocol was released in 1991.

redux-logger - Logger for Redux

  •    Javascript

LogRocket is a production Redux logging tool that lets you replay problems as if they happened in your own browser. Instead of guessing why errors happen, or asking users for screenshots and log dumps, LogRocket lets you replay Redux actions + state, network requests, console logs, and see a video of what the user saw. Note: logger must be the last middleware in chain, otherwise it will log thunk and promise, not actual actions (#20).

log.js - super light-weight nodejs logging + streaming log reader

  •    HTML

Lightweight logging for NodeJS. Includes a streaming log reader.By default, a Log’s stream is stdout, and its log level defaults is DEBUG.

console-dot-emoji - :pizza: Custom Console Logging with Emoji

  •    Javascript

Debugging JavaScript can be painful and often means spending hours looking at boring console logs. Inspired by console.frog by Tim Holman, I made my own console logger — but with customizable commands and emojis. Logging to the console is finally fun again, thanks to console.beer ๐Ÿบ and console.unicorn ๐Ÿฆ„. Go here to read the blog post and see it in action.