docs: Move logging guidance to CONTRIBUTING

Keep logging and comment-style guidance in CONTRIBUTING.md and trim
duplicate policy from the agent guide.

On-behalf-of: SAP philipp.schuster@sap.com
Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
This commit is contained in:
Philipp Schuster
2026-05-13 21:48:22 +02:00
committed by Rob Bradford
parent a07097af1f
commit 466b5a8e08
2 changed files with 4 additions and 5 deletions

View File

@@ -39,6 +39,10 @@ For new code, add documentation and comments where they **provide additional val
Comments should be concise and add additional context or information to the code.
Logging should be minimal and high signal. Use `info!` for important normal
state changes that matter in production; use `warn!` or `error!` only for
abnormal conditions. Keep `debug!` for focused diagnostics.
[Rust Style]: https://github.com/rust-lang/rust/tree/HEAD/src/doc/style-guide/src
## Basic Checks