mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-09-21 06:12:56 -04:00
LogServer
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user