|
Realistic 3D camera system
3D camera system components
|
#include <basic_logger.hpp>
Public Types | |
| typedef Service | service_type |
| The type of the service that will be used to provide timer operations. More... | |
| typedef service_type::impl_type | impl_type |
| The native implementation type of the timer. More... | |
Public Member Functions | |
| basic_logger (asio::io_service &io_service, const std::string &identifier) | |
| Constructor. More... | |
| ~basic_logger () | |
| Destructor. More... | |
| asio::io_service & | get_io_service () |
| Get the io_service associated with the object. More... | |
| void | use_file (const std::string &file) |
| Set the output file for all logger instances. More... | |
| void | log (const std::string &message) |
| Log a message. More... | |
Class to provide simple logging functionality. Use the services::logger typedef.
Definition at line 23 of file basic_logger.hpp.
| typedef service_type::impl_type services::basic_logger< Service >::impl_type |
The native implementation type of the timer.
Definition at line 31 of file basic_logger.hpp.
| typedef Service services::basic_logger< Service >::service_type |
The type of the service that will be used to provide timer operations.
Definition at line 28 of file basic_logger.hpp.
|
inlineexplicit |
Constructor.
This constructor creates a logger.
| io_service | The io_service object used to locate the logger service. |
| identifier | An identifier for this logger. |
Definition at line 41 of file basic_logger.hpp.
|
inline |
Destructor.
Definition at line 50 of file basic_logger.hpp.
|
inline |
Get the io_service associated with the object.
Definition at line 56 of file basic_logger.hpp.
|
inline |
Log a message.
Definition at line 68 of file basic_logger.hpp.
|
inline |
Set the output file for all logger instances.
Definition at line 62 of file basic_logger.hpp.
1.8.11