Function unregisterLogger

Synopsis

#include <src/easylogging++.h>

static bool unregisterLogger(const std::string &identity)

Description

Unregisters logger - use it only when you know what you are doing, you may unregister loggers initialized / used by third-party libs.

Mentioned in

Source

Lines 2959-2961 in src/easylogging++.cc. Line 3809 in src/easylogging++.h.

bool Loggers::unregisterLogger(const std::string& identity) {
  return ELPP->registeredLoggers()->remove(identity);
}





Add Discussion

Log in to comment