+
+ +
+

Logging

+
+

Class Documentation

+
+
+class compLib.LogstashLogging.Logging
+

Can be used to manually use the logger or turn up the logging level used for debugging this library.

+
+
+static get_logger() → logging.Logger
+

Get the logger object used to communicate with logstash

+
+
Returns
+

Python logger

+
+
Return type
+

logging.Logger

+
+
+
+ +
+
+static set_debug()
+

Turns up the logging level of the library to debug. Should be used, when debugging with the +Competition organizers

+
+ +
+ +
+
+

Examples

+
+

Turn up the logging

+
from compLib.LogstashLogging import Logging
+
+Logging.set_debug()
+
+
+
+
+
+ + +
+ +