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

Logger Implementation. More...

#include <Log.h>

Collaboration diagram for exo::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 30 of file Log.h.

Constructor & Destructor Documentation

◆ Logger()

exo::Logger::Logger ( hermes::Context ctx)

Definition at line 48 of file Log.cpp.

48{ 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()

exo::Logger::~Logger ( )

Definition at line 49 of file Log.cpp.

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

References hermes::Source::deactivate().


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