Standard output sink.
More...
#include <gcs_logging_system.h>
◆ Gcs_output_sink() [1/2]
Gcs_output_sink::Gcs_output_sink |
( |
| ) |
|
|
explicit |
◆ ~Gcs_output_sink()
Gcs_output_sink::~Gcs_output_sink |
( |
| ) |
|
|
overridedefault |
◆ Gcs_output_sink() [2/2]
◆ finalize()
Output sink finalization method.
- Return values
-
GCS_OK | in case everything goes well. Any other value of gcs_error in case of error. |
Implements Common_interface.
◆ get_information()
const std::string Gcs_output_sink::get_information |
( |
| ) |
const |
|
overridevirtual |
Return information on the sink such as its location.
Implements Sink_interface.
◆ initialize()
Output sink initialization method.
- Return values
-
GCS_OK | in case everything goes well. Any other value of gcs_error in case of error |
Implements Common_interface.
◆ log_event() [1/2]
void Gcs_output_sink::log_event |
( |
const char * |
message, |
|
|
size_t |
message_size |
|
) |
| |
|
overridevirtual |
Print the received message to the standard output stream.
- Parameters
-
message | rendered stream of the logging message |
message_size | logging message size |
Implements Sink_interface.
◆ log_event() [2/2]
void Gcs_output_sink::log_event |
( |
const std::string & |
message | ) |
|
|
overridevirtual |
Print the received message to the standard output stream.
- Parameters
-
message | rendered stream of the logging message |
Implements Sink_interface.
◆ operator=()
◆ m_initialized
bool Gcs_output_sink::m_initialized |
|
private |
The documentation for this class was generated from the following files: