| 1 |
sysadm |
1.1 |
/*******************************************************/
|
| 2 |
|
|
/* */
|
| 3 |
|
|
/* LeafOK Innd */
|
| 4 |
|
|
/* Copyright (C) LeafOK.com, 2003-2004 */
|
| 5 |
|
|
/* */
|
| 6 |
|
|
/* Programmed by Leaf */
|
| 7 |
|
|
/* E-mail:leaf@leafok.com QQ:6049044 */
|
| 8 |
|
|
/* */
|
| 9 |
|
|
/* http://bbs.leafok.com */
|
| 10 |
|
|
/* http://bbs.leafok.net */
|
| 11 |
|
|
/* http://bbs.fenglin.info */
|
| 12 |
|
|
/* */
|
| 13 |
|
|
/*******************************************************/
|
| 14 |
|
|
|
| 15 |
|
|
#pragma once
|
| 16 |
|
|
|
| 17 |
|
|
#include <fstream>
|
| 18 |
|
|
|
| 19 |
|
|
using namespace std;
|
| 20 |
|
|
|
| 21 |
|
|
class logfile
|
| 22 |
|
|
: public basic_ofstream<char,std::char_traits<char> >
|
| 23 |
|
|
{
|
| 24 |
|
|
public:
|
| 25 |
|
|
logfile(void);
|
| 26 |
|
|
~logfile(void);
|
| 27 |
|
|
static logfile& log_head(logfile& logfile);
|
| 28 |
|
|
logfile& operator<<(logfile& fun(logfile&));
|
| 29 |
|
|
};
|