X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=src%2Fclient.hxx;h=d4c2480342d1acefecd382d9fc3f6634893b9852;hp=293f548591d870666daef8aec8113231bb7b1d88;hb=e98b5dc1fe10ed25b986fc5cfb8fd0ba2f329a3a;hpb=9424729586fdb0aabb671d2f1266bdb07e0bed38 diff --git a/src/client.hxx b/src/client.hxx index 293f548..d4c2480 100644 --- a/src/client.hxx +++ b/src/client.hxx @@ -20,6 +20,7 @@ #define __LIBT2N_CLIENT #include +#include #include "connection.hxx" #include "types.hxx" @@ -31,10 +32,16 @@ namespace libt2n */ class client_connection : public connection { + private: + log_level_values log_level; + std::ostream *logstream; + public: - client_connection() - : connection() - { } + client_connection(); + + void set_logging(std::ostream *_logstream, log_level_values _log_level); + + std::ostream* get_logstream(log_level_values level); }; }