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 TFLCHEF_LOG environment variable.
tflchef::LoggerConfig::LoggerConfig | ( | ) |
|
finalvirtual |
Implements hermes::Config.
Definition at line 64 of file Log.cpp.
References configure().
Referenced by configure().
void tflchef::LoggerConfig::configure | ( | const Logger * | , |
hermes::Source::Setting & | setting | ||
) | const |
Definition at line 73 of file Log.cpp.
References hermes::SourceSetting::accept_all(), and hermes::SourceSetting::reject_all().