|
USBGuard
Software framework that protects your computer against rogue USB devices by implementing basic whitelisting and blacklisting capabilities.
|
Logger output sink. More...
#include <Logger.hpp>
Public Member Functions | |
| LogSink (const std::string &name) | |
| Constructs logger output sink with given name. More... | |
| virtual | ~LogSink () |
| Default destructor. | |
| const std::string & | name () const |
| Returns name of the sink. More... | |
| virtual void | write (const LogStream::Source &source, LogStream::Level level, const std::string &message)=0 |
| Writes given information into the sink. More... | |
Logger output sink.
| usbguard::LogSink::LogSink | ( | const std::string & | name | ) |
Constructs logger output sink with given name.
| name | Name of the sink. |
| const std::string & usbguard::LogSink::name | ( | ) | const |
Returns name of the sink.
|
pure virtual |
Writes given information into the sink.
Implemented in usbguard::AuditFileSink, usbguard::SyslogSink, and usbguard::OStreamSink.
1.8.15