rsylog code styleΒΆ
Note: code style is still under construction. This guide lists some basic style requirements.
Code that does not match the code style guide will not pass CI testing.
The following is required right now:
- we use ANSCI C99
- indention is done with tabs, not spaces
- trailing whitespace in lines is not permitted
- lines longer than 140 characters are not permitted; also, it is advised to keep lines shorter than 120 characters unless there is a good reason. The 120 char rule is not enforced, but everything over 140 chars is rejected and must be reformatted.
See also
If you would like to contribute to these docs, but are unsure where to start, please see the rsyslog-doc project README for an overview of the process. If you would like to contribute to the main source project, please review the contribution guidelines listed in the rsyslog project README.
If you have a question about these docs or Rsyslog
in general, please
see the following resources: