Files
itgmania212121/stepmania/src/RageLog.h
T

37 lines
650 B
C++
Raw Normal View History

#ifndef RAGELOG_H
#define RAGELOG_H
2002-05-01 19:14:55 +00:00
/*
-----------------------------------------------------------------------------
Class: RageLog
Desc: Manages logging
2002-05-19 01:59:48 +00:00
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
2002-05-01 19:14:55 +00:00
Chris Danford
-----------------------------------------------------------------------------
*/
#include <stdio.h>
2002-05-01 19:14:55 +00:00
class RageLog
{
public:
RageLog();
~RageLog();
void Trace( const char *fmt, ...);
void Warn( const char *fmt, ...);
2002-05-01 19:14:55 +00:00
void Flush();
2002-05-29 09:47:24 +00:00
void ShowConsole();
void HideConsole();
2002-05-01 19:14:55 +00:00
protected:
FILE* m_fileLog;
};
extern RageLog* LOG; // global and accessable from anywhere in our program
2002-11-16 06:56:25 +00:00
#endif