Browse code

lwsc: docs for verbosity parameter [skip ci]

Daniel-Constantin Mierla authored on 24/03/2021 16:00:03
Showing 1 changed files
... ...
@@ -113,6 +113,27 @@ modparam("lwsc", "timeout_init", 4000000)
113 113
 ...
114 114
 modparam("lwsc", "timeout_init", 1000000)
115 115
 ...
116
+</programlisting>
117
+		</example>
118
+	</section>
119
+	<section id="lwsc.p.verbosity">
120
+		<title><varname>verbosity</varname> (int)</title>
121
+		<para>
122
+			Control the verbosity of debug messages on libwebsockets events,
123
+			higher value means more debug messages. It has to be a positive
124
+			number, currently 2 or higher results in maximum verbosity.
125
+		</para>
126
+		<para>
127
+		<emphasis>
128
+			Default value is 0.
129
+		</emphasis>
130
+		</para>
131
+		<example>
132
+		<title>Set <varname>verbosity</varname> parameter</title>
133
+		<programlisting format="linespecific">
134
+...
135
+modparam("lwsc", "verbosity", 1)
136
+...
116 137
 </programlisting>
117 138
 		</example>
118 139
 	</section>