ONE - On-device Neural Engine
Loading...
Searching...
No Matches
tflchef::Logger Class Referencefinal

Logger Implementation. More...

#include <Log.h>

Collaboration diagram for tflchef::Logger:

Public Member Functions

 Logger (hermes::Context *ctx)
 
 ~Logger ()
 
- Public Member Functions inherited from hermes::Source
bool check (const Severity &s) const
 Check whether a message with a given severity is acceptable or not.
 
virtual void reload (const Config *)
 Update Source with a given configuration.
 
std::unique_ptr< MessageBufferbuffer (const Severity &) const
 

Additional Inherited Members

- Public Types inherited from hermes::Source
using Setting = SourceSetting
 
- Protected Member Functions inherited from hermes::Source
 Source ()
 
virtual ~Source ()
 
void activate (Registry *, MessageBus *)
 
void deactivate (void)
 
Settingsetting (void)
 

Detailed Description

Logger Implementation.

Definition at line 28 of file Log.h.

Constructor & Destructor Documentation

◆ Logger()

tflchef::Logger::Logger ( hermes::Context ctx)

Definition at line 47 of file Log.cpp.

47{ activate(ctx->sources(), ctx->bus()); }
Source::Registry * sources(void)
Definition Context.h:55
MessageBus * bus(void)
Definition Context.h:48
void activate(Registry *, MessageBus *)
Definition Source.cpp:37

References hermes::Source::activate(), hermes::Context::bus(), and hermes::Context::sources().

◆ ~Logger()

tflchef::Logger::~Logger ( )

Definition at line 48 of file Log.cpp.

48{ deactivate(); }
void deactivate(void)
Definition Source.cpp:49

References hermes::Source::deactivate().


The documentation for this class was generated from the following files: