#ifndef __LIBT2N_SOCKET_HANDLER
#define __LIBT2N_SOCKET_HANDLER
+#include <iostream>
+
#include "types.hxx"
namespace libt2n
void set_socket_options(int sock);
- void log(log_level_values level, const std::string& message)
- { log(level,message.c_str()); }
- virtual void log(log_level_values level, const char* message)
- { return; }
+ virtual std::ostream* get_logstream(log_level_values level)
+ { return NULL; }
void socket_write(const std::string& data);