on master help sign in
Add trace log primer to the Contributing section
8f1eb7bKelly Thomas Kline
README.md+3
@@ -78,6 +78,9 @@ Some suggestions to get started:
78
78
79- You can look at the [good first issue](https://github.com/helix-editor/helix/labels/good%20first%20issue) label on the issue tracker.
79- You can look at the [good first issue](https://github.com/helix-editor/helix/labels/good%20first%20issue) label on the issue tracker.
80- Help with packaging on various distributions needed!
80- Help with packaging on various distributions needed!
81+- To use print debugging to the `~/.cache/helix/helix.log` file, you must:
82+ * Print using `log::info!`, `warn!`, or `error!`. (`log::info!("helix!")`)
83+ * Pass the appropriate verbosity level option for the desired log level. (`hx -v <file>` for info, more `v`s for higher severity inclusive)
81- If your preferred language is missing, integrating a tree-sitter grammar for
84- If your preferred language is missing, integrating a tree-sitter grammar for
82 it and defining syntax highlight queries for it is straight forward and
85 it and defining syntax highlight queries for it is straight forward and
83 doesn't require much knowledge of the internals.
86 doesn't require much knowledge of the internals.