Files
Webcam/include/platform/log/file_log.h
2026-06-22 11:49:35 +02:00

39 lines
695 B
C++

/* -----------------------------------------------------------------------------
GSFramework
Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
----------------------------------------------------------------------------- */
#ifndef __NFILELOG__
#define __NFILELOG__
#include "nstring/nstring.h"
#include "log/log.h"
namespace GS {
/*!
@short File log.
@author Emmanuel Julien (ejulien@gsworks.fr)
*/
class FileLog : public Log
{
String path;
bool do_timestamp;
bool initial_write;
public:
virtual void NewLog(const char *log, char entry_level = EngineLogStandard);
FileLog(const char *path, bool do_timestamp = false);
};
} // GS
#endif // __NFILELOG__