hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
logger_fwd.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_LOGGER_LOGGER_FWD_HPP
7 #define IROHA_LOGGER_LOGGER_FWD_HPP
8 
9 #include <memory>
10 
11 /* It is preferable to include this header in files that do not contain
12  * dereferencing of LoggerPtr and do not use the Logger class functions, because
13  * the actual Logger class definition contains template member functions that
14  * use template library functions, thus making the preprocessed source file much
15  * bigger.
16  */
17 
18 namespace logger {
19 
20  class Logger;
21 
22  using LoggerPtr = std::shared_ptr<Logger>;
23 
24 } // namespace logger
25 
26 #endif // IROHA_LOGGER_LOGGER_FWD_HPP
std::shared_ptr< Logger > LoggerPtr
Definition: logger_fwd.hpp:22
Definition: dummy_logger.hpp:11