Menu

CMD_LOGLEVEL

Benedict Jäggi

LOGLEVEL (jBash-command)

This command controls how much output you have in the console.
Default is 3 (Debug messages) and later 2 (Warning messages) after release of v1.0.0.

  • Prints out the loglevel if you give no parameter.
  • Sets the loglevel from a 0 to 4 if you give a number as parameter.

Each higher number will also log all lower numbered log messages.

Loglevels:

  • 0 = User Messages
  • 1 = Errors
  • 2 = Warnings
  • 3 = Debug Messages
  • 4 = Verbose Debug Messages (moved from debug to verbose after developing the code.)

Examples

loglevel
loglevel 3

Next: The show command.


Related

Wiki: CMD_SHOW
Wiki: SCRIPTS

Auth0 Logo