LogServer

This commit is contained in:
Anonymous
2014-01-16 20:38:03 -07:00
parent 2bcd8a262c
commit c76ba3f66a
20 changed files with 1539 additions and 0 deletions
@@ -0,0 +1,38 @@
// LoggingServerApiObserver.h
// Copyright 2000-02, Sony Online Entertainment Inc., all rights reserved.
// Author: Justin Randall
#ifndef _INCLUDED_LoggingServerApiObserver_H
#define _INCLUDED_LoggingServerApiObserver_H
//-----------------------------------------------------------------------
#include "sharedLog/LogObserver.h"
class LoggingServerApi;
//-----------------------------------------------------------------------
class LoggingServerApiObserver : public LogObserver
{
public:
static void install();
static LogObserver *create(std::string const &spec);
LoggingServerApiObserver();
virtual ~LoggingServerApiObserver();
virtual void log(LogMessage const &msg);
virtual void flush();
virtual void update();
private:
LoggingServerApiObserver & operator = (const LoggingServerApiObserver & rhs);
LoggingServerApiObserver(const LoggingServerApiObserver & source);
LoggingServerApi * m_loggingServerApi;
};
//-----------------------------------------------------------------------
#endif // _INCLUDED_LoggingServerApiObserver_H