Function Logger.enableConsole

Enable console or file logging for this logger

void enableConsole (
  bool additive = false
);

Those routines are useful for quick debugging. As the underlying logger is not accessible, the only way to enable an appender is to call configureLogger, however this can be unnecessarily complicated.

Note that those methods are additive only: Calling enableConsole twice will have unintended consequences (messages being written twice).

Hence, for production / advanced scenario, prefer configureLogger.