4 #ifndef FIRE_LOGGING_SIMPLE_SIMPLELOGGER_HPP_INCLUDED
5 #define FIRE_LOGGING_SIMPLE_SIMPLELOGGER_HPP_INCLUDED
7 #include <boost/smart_ptr/shared_ptr.hpp>
8 #include <boost/log/sinks/sync_frontend.hpp>
9 #include <boost/log/sinks/text_ostream_backend.hpp>
16 #include "fire/export.hpp"
18 #include "fire/logging/spi/AbstractLogger.hpp"
19 #include "fire/logging/Level.hpp"
46 typedef boost::log::sinks::synchronous_sink< boost::log::sinks::text_ostream_backend > Sink;
58 boost::shared_ptr< std::ostream > outputStream;
63 boost::shared_ptr< fire::logging::simple::SimpleLogger::Sink > sink;
77 static bool filter(boost::log::value_ref< std::string, tag::tagsAttribute >
const& tagsAttributeValue, std::set< std::string >* tags);
144 void setStream(std::ostream* outputStream);
Classe per la gestione di un logger semplice.
Definition: SimpleLogger.hpp:40
Classe astratta per la gestione di un logger.
Definition: AbstractLogger.hpp:41
Level
Enumerativo per la gestione di un livello di log.
Definition: Level.hpp:26