]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
add readme debug information
authorBastian Dehn <hhaalo@arcor.de>
Mon, 30 Dec 2024 20:51:38 +0000 (21:51 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Mon, 30 Dec 2024 20:51:38 +0000 (21:51 +0100)
readme.md

index 16f7ee924956b7df30ca56ee103ee36282d463fa..29af4a62eb17e859393b5ce2650b84fa7749ae14 100644 (file)
--- a/readme.md
+++ b/readme.md
@@ -18,6 +18,7 @@ https://support.alarisworld.com/de-de/s2080w-scanner#Software
 3. [Configuration](#configuration)
 4. [Develop with Tests](#develop-with-tests)
 5. [Architecture](#architecture)
+6. [Debugging](#debugging)
 
 ## Dependencies
 
@@ -121,4 +122,25 @@ subgraph main flow components
        kds_s2000w_net --> kds_s2000w_handler
        kds_s2000w_handler --> kds_s2000w_client
 end
+```
+
+## Debugging
+
+I hope you do not need debugging.
+The following debug level is available:
+
+| Level | No |
+|-------|----|
+| OFF   | 0  |
+| FATAL | 1  |
+| ERROR | 2  |
+| WARN  | 3  |
+| INFO  | 4  |
+| DEBUG | 5  |
+| ALL   | 6  |
+
+example debug output with xsane:
+
+```bash
+KDS_S2000W_NET_DEBUG=6 xsane
 ```
\ No newline at end of file