Skip to content

syohex/turbo-log

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Turbo log - fast logging selected line or region

This project inspired by similar package for vs-code - turbo-console-log, and provided functionality for fast log message inserting under current line. It works for js-mode, typescript-mode, go-mode and python.

How it works?

./images/sample.gif

Installation

Now turbo-log is not available from MELPA. Your can install it with quelpa or another package manager:

(use-package turbo-log
  :quelpa (turbo-log :fetcher github :repo "Artawower/turbo-log.el")
  :bind (("C-s-l" . turbo-log-print)
         ("C-s-h" . turbo-log-comment-all-logs)
         ("C-s-s" . turbo-log-uncomment-all-logs)
         ("C-s-d" . turbo-log-delete-all-logs))
  :config
  (setq turbo-console--prefix ""))

doom

(package! turbo-log :recipe (:host github :repo "artawower/turbo-log"))

Customisation

  • turbo-log-prefix Special prefix, will put [line number][buffer-name?] <here>
  • turbo-log--include-buffer-name If true will put buffer name to log message

Plans

  • [X] Typescript support
  • [X] Javascript support
  • [X] Python support
  • [X] Golang support
  • [ ] Improve insert position finding
  • [X] Comment/uncomment all log messages that were made by package.
  • [X] Remove all log messages that were made by package.

About

Fast log message inserting for quick debug.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Emacs Lisp 100.0%