WindowMud

Log.h Source Code

Download this source code in text format (Log.h)

/***********************************************************
* WindowMud - Window Mud Server                            *
* File:   Log.h                                            *
* Usage:  Logs messages to disk file                       *
*                                                          *
* No warranty is given or implied.                         *
* There is no license associated with this code.           *
* There are no restrictions on the use of this code.       *
* This code may be used in any way the reader wishes.      *
* No credit or credits are given and none are required.    *
* The reader may take this code and claim they wrote it.   *
************************************************************/

#ifndef LOG_H
#define LOG_H

/***********************************************************
* Includes                                                 *
************************************************************/

#include "Config.h"

/***********************************************************
* Define Log class                                         *
************************************************************/

class Log  
{

// Public functions
  public:
    Log;
    ~Log;
    void    static  CloseLogFile();
    void    static  LogIt(CString LogBuf);
    void    static  OpenLogFile();
};

#endif