The interface for all logging callbacks. More...
#include <callbacks.h>
Public Member Functions | |
virtual void | Run (KuduLogSeverity severity, const char *filename, int line_number, const struct::tm *time, const char *message, size_t message_len)=0 |
The interface for all logging callbacks.
virtual void kudu::client::KuduLoggingCallback::Run | ( | KuduLogSeverity | severity, | |
const char * | filename, | |||
int | line_number, | |||
const struct::tm * | time, | |||
const char * | message, | |||
size_t | message_len | |||
) | [pure virtual] |
Log the message.
message
is NOT terminated with an endline.[in] | severity | Severity of the log message. |
[in] | filename | The name of the source file the message is originated from. |
[in] | line_number | The line of the source file the message is originated from. |
[in] | time | The absolute time when the log event was generated. |
[in] | message | The message to log. It's not terminated with an endline. |
[in] | message_len | Number of characters in the message . |
Implemented in kudu::client::KuduLoggingMemberCallback< T >, and kudu::client::KuduLoggingFunctionCallback< T >.