kudu::client::KuduLoggingCallback Class Reference

The interface for all logging callbacks. More...

#include <callbacks.h>

Inheritance diagram for kudu::client::KuduLoggingCallback:
kudu::client::KuduLoggingFunctionCallback< T > kudu::client::KuduLoggingMemberCallback< T >

List of all members.

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

Detailed Description

The interface for all logging callbacks.


Member Function Documentation

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.

Note:
The message is NOT terminated with an endline.
Parameters:
[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 >.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines