2 Console
Kristóf Tóth edited this page 2019-12-19 16:11:24 +01:00

The console is typically used for displaying (potentially live) logs and/or error messages. For instance, you may wish to run a web server, and you would like to display all incoming requests in real time. You could just instantiate a ProcessLogHandler along with a ConsoleLogsHandler in event_handler_main, and start your process as a supervisor program. This would instruct the framework to print the logs of your program to the console in real time (it uses inotify in the background). Besides that, you can use it to write any kind of text manually, like unit test results.


Available commands: