ONE - On-device Neural Engine
|
Logger Configuration. More...
#include <Log.h>
Public Member Functions | |
LoggerConfig () | |
void | configure (const hermes::Source *, hermes::Source::Setting &) const final |
void | configure (const Logger *, hermes::Source::Setting &) const |
Public Member Functions inherited from hermes::Config | |
virtual | ~Config ()=default |
Logger Configuration.
Users are able to turn logging on/off via LUCI_LOG environment variable.
luci::LoggerConfig::LoggerConfig | ( | ) |
Definition at line 60 of file Log.cpp.
References luci::UserSettings::MuteWarnings, and luci::UserSettings::settings().
|
finalvirtual |
Implements hermes::Config.
Definition at line 71 of file Log.cpp.
References configure().
Referenced by configure().
void luci::LoggerConfig::configure | ( | const Logger * | , |
hermes::Source::Setting & | setting | ||
) | const |
Definition at line 80 of file Log.cpp.
References hermes::Filter::accept_upto(), hermes::ERROR, hermes::FATAL, hermes::SourceSetting::filter(), hermes::INFO, hermes::SourceSetting::reject_all(), hermes::VERBOSE, and hermes::WARN.