Logger.level

Set the current level for this logger, and (optionally) all of its descendants.

  1. Level level()
  2. Logger level(Level l)
  3. Logger level(Level level, bool propagate)
    class Logger

Parameters

level Level

Level to set the Logger(s) to

propagate bool

If true, set the level to all of this Logger's descendants as well.

Return Value

Type: Logger

this

Meta