.. _logger_console: Logger Console ============== The console logger helps the user to switch between the logger level. Overview -------- Log level --------- Log levels categorize the importance of log messages. It helps to filter and understand the system's status and issues. Highest priorities log level will disable all the least priorities log level messages. **DEBUG** log level has least priorities and **CRITICAL** log level has highest priorities. .. csv-table:: :widths: 20,20 "**Log level**", "**Priority**" "``DEBUG``", "0" "``INFO``", "1" "``WARN``", "2" "``ERROR``", "3" "``CRITICAL``", "4" "``NONE``", "5" Console logger command ---------------------- The log level can be set using the command in console. The default log level is DEBUG. The console command has the following structure: ``logger level [] []`` Examples ++++++++ - ``logger level`` - Print the current logging level per component. - ``logger level INFO`` - Set logging level to INFO for all components. - ``logger level DEMO DEBUG`` - Set logging level to DEBUG for the DEMO component only. Next: :ref:`digital_io`