@command<EOL><INDENT>def do_loglevel(self, args, arguments):<DEDENT>
if arguments['<STR_LIT>']:<EOL><INDENT>self.loglevel = "<STR_LIT>"<EOL><DEDENT>elif arguments['<STR_LIT:error>']:<EOL><INDENT>self.loglevel = "<STR_LIT>"<EOL><DEDENT>elif arguments['<STR_LIT>']:<EOL><INDENT>self.loglevel = "<STR_LIT>"<EOL><DEDENT>elif arguments['<STR_LIT:info>']:<EOL><INDENT>self.loglevel = "<STR_LIT>"<EOL><DEDENT>elif arguments['<STR_LIT>']:<EOL><INDENT>self.loglevel = "<STR_LIT>"<EOL><DEDENT>else:<EOL><INDENT>Console.ok("<STR_LIT>".format(self.loglevel))<EOL>return<EOL><DEDENT>Console.ok ("<STR_LIT>".format(self.loglevel))<EOL>filename = path_expand("<STR_LIT>")<EOL>config = ConfigDict(filename=filename)<EOL>config["<STR_LIT>"]["<STR_LIT>"]["<STR_LIT>"] = self.loglevel<EOL>config.write(filename=filename, output="<STR_LIT>", attribute_indent="<STR_LIT:U+0020>")<EOL>
::

  Usage:
      loglevel
      loglevel critical
      loglevel error
      loglevel warning
      loglevel info
      loglevel debug

      Shows current log level or changes it.

      loglevel - shows current log level
      critical - shows log message in critical level
      error    - shows log message in error level including critical
      warning  - shows log message in warning level including error
      info     - shows log message in info level including warning
      debug    - shows log message in debug level including info