⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 logsplitter.h

📁 日志解析
💻 H
字号:
/***************************************************************************	revision             : $Id: logsplitter.h,v 1.1.1.1 2005/10/04 10:50:23 wiz Exp $    copyright            : (C) 2005 by Simone Tellini    email                : tellini@users.sourceforge.net ***************************************************************************//*************************************************************************** *                                                                         * *   This program is free software; you can redistribute it and/or modify  * *   it under the terms of the GNU General Public License as published by  * *   the Free Software Foundation; either version 2 of the License, or     * *   (at your option) any later version.                                   * *                                                                         * ***************************************************************************/#ifndef LOGSPLITTER_H#define LOGSPLITTER_H#include "settings.h"#include "logfile.h"#include "hash_map.h"class LogSplitter{public:						LogSplitter( int argc, const char *argv[] );						~LogSplitter();	void				Run( void );	void				Quit( void )		{ Running = false; }private:	typedef hash_map<string, LogFile *>	logHash;		string				CfgName;	Settings			Cfg;	bool				Running;	char				Buffer[ 1024 * 64 ];	bool				Overflowed;	int					BufUsed;	LogFile				*DefaultLog;	vector<LogFile *>	Logs;	logHash				LogsHash;	time_t				LastCheck;	void				SetCredentials( void );	void				InitLogFiles( void );	void				LoadState( void );	void				SaveState( void );	void				ReadData( void );	void				CheckLine( void );	void				LogLine( string line );		void				CheckRotations( void );};#endif /* LOGSPLITTER_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -