27 lines
363 B
C
Raw Normal View History

#ifndef __LOG_H
#define __LOG_H
#ifndef __STRINGS_H
#include <strings.h>
#endif
class TRecordset;
class TError_log : public TObject
{
TString _rep;
TRecordset* _log;
public:
void set_rep(const char* rep) { _rep = rep; }
void set_header(const char* header);
void log(long sev, const char* msg);
bool show();
TError_log();
~TError_log();
};
#endif