{"id":13448334,"url":"https://github.com/yrammos/SublimeLog","last_synced_at":"2025-03-22T09:31:16.306Z","repository":{"id":3670898,"uuid":"4740040","full_name":"yrammos/SublimeLog","owner":"yrammos","description":"A bare-bones console logger for Sublime Text 2 and 3.","archived":true,"fork":false,"pushed_at":"2016-12-02T14:15:40.000Z","size":14,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-28T14:27:22.862Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yrammos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-06-21T14:20:12.000Z","updated_at":"2023-01-28T18:32:50.000Z","dependencies_parsed_at":"2022-08-18T23:51:55.437Z","dependency_job_id":null,"html_url":"https://github.com/yrammos/SublimeLog","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yrammos%2FSublimeLog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yrammos%2FSublimeLog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yrammos%2FSublimeLog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yrammos%2FSublimeLog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yrammos","download_url":"https://codeload.github.com/yrammos/SublimeLog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244937751,"owners_count":20535124,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T05:01:42.360Z","updated_at":"2025-03-22T09:31:15.970Z","avatar_url":"https://github.com/yrammos.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"SublimeLog\n==========\n\nA bare-bones console logger for Sublime Text ~~~~2 and~~~~ 3.\n\n\n### Description\n\n[Sublime Text 3](http://www.sublimetext.com) provides a console (accessible via ``Control-` ``) for interaction with the editor's Python-based innards and plug-in architecture. This plug-in logs the console contents into a plain-text file ornamented with logger activation/deactivation timestamps.\n\nThe log is erased and recreated each time Sublime Text is launched.\n\n### Installation\n\nThe most straightforward installation method is by far via [Will Bond's](http://wbond.net/) superb [Package Control](http://wbond.net/sublime_packages/package_control/package_developers). Alternatively, you may clone (or copy the contents of) this repository into your Sublime Text `./Packages` folder:\n\n    git clone https://github.com/yrammos/SublimeLog.git\n\n### Commands\n\nFor now SublimeLog supplies a single command that toggles the logger. The default key-binding is `Command-Control-C` on OS X or `Alt-Control-C` on Windows/Linux. You may also invoke it via the command palette (`⌘-Shift-P` on a Mac or `Ctrl-Shift-P` otherwise): `SublimeLog: Toggle logger (on/off)`\n\nThe key-binding is adjustable in the default JSON file appropriate to your platform:\n\n    ./Packages/SublimeLog/Default ({OSX | Linux | Windows}).sublime-keymapping\n\nor, to prevent overwrites following plugin updates, in a corresponding file within the User subfolder:\n\n    ./Packages/User/SublimeLog ({OSX | Linux | Windows}).sublime-keymapping\n\n### Retrieving the log\n\nBy default, the console is logged in the following plain-text file:\n\n    {HOME}/.subl.log\n\nThis default destination is adjustable in:\n\n    ./Packages/SublimeLog/SublimeLog.sublime-settings\n\nor, preferably, in the User subfolder:\n\n\t./Packages/User/SublimeLog.sublime-settings\n\nWhatever path-filename you declare for the log is relative to your root folder, so please be sure you have adequate write permissions or the plug-in will complain politely.\n\nNote that Sublime Text no longer needs to be restarted for changes to these settings to take effect.\n\n### Serving suggestion\n\nI wrote this plug-in as a complement to my LaTeX workflow. Within a dedicated terminal session, or a tmux pane for that matter, I constantly monitor the log file for changes:\n\n    tail -f ~/.subl.log\n\nThis provides me with a dynamic view of the console stream in a separate window, without the space- and time-consuming tedium of toggling the console view.\n\nIf need to maintain a history of log files following successive restarts of the editor, `multitail` is probably the best solution. It runs on all major Unix platforms and on Windows via Cygwin.\n\n### Version history\n\n#### 12/2/2016\n- FIXED: Non-ASCII timestamps no longer cause a crash.\n- NEW: Support for Sublime Text 2 is dropped.\n\n#### 4/18/2013\n- NEW: Support for Sublime Text 3.\n- NEW: Logger may now be toggled via the command palette.\n- NEW: Settings modifications no longer necessitate an editor restart to take effect.\n\n#### 7/17/2012\n- NEW: Adds preferences menu (Sublime Text 2 \u003e Preferences \u003e Package Settings \u003e SublimeLog).\n- FIXED: Default and user preferences are now honored as expected.\n\n#### 6/26/2012\n- NEW: Plugin now available via [Package Control](http://wbond.net/sublime_packages/package_control/package_developers).\n\n#### 6/22/2012\n- NEW: First release.\n\nCopyright © 2012-3 by [Yannis Rammos](twitter.com/yannisrammos). This work is made available under the terms of the Creative Commons Attribution-NonCommercial 3.0 Unported (CC BY-NC 3.0) license, \u003chttp://creativecommons.org/licenses/by-sa/3.0/\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyrammos%2FSublimeLog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyrammos%2FSublimeLog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyrammos%2FSublimeLog/lists"}