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.
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"))
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
- [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.