Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

log.h

Go to the documentation of this file.
00001 /*
00002   svas_server -- virtual World Server of Svas
00003   Copyright (c) 2001, 2002 David Moreno Montero
00004  
00005  
00006   This program is free software; you can redistribute it and/or modify
00007   it under the terms of the GNU General Public License as published by
00008   the Free Software Foundation; either version 2 of the License, or
00009   (at your option) any later version.
00010  
00011   This program is distributed in the hope that it will be useful, but
00012   WITHOUT ANY WARRANTY; without even the implied warranty of
00013   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014   General Public License for more details.
00015  
00016   You should have received a copy of the GNU General Public License
00017   along with this program; if not, write to the Free Software
00018   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
00019   02111-1307, USA.  
00020 
00021 */
00022 
00023 #ifndef __LOG__
00024 #define __LOG__
00025 
00026 #include <iostream>
00027 #include <string>
00028 
00029 #define log cout<<TS<<"  "<<__FILE__<<":"<<__LINE__<<"  "
00030 
00031 #define TS timeStamp()
00032 
00033 string timeStamp(void);
00034 
00035 unsigned long int sTime(void);
00036 
00037 
00038 void andTimePasses(void);
00039 
00040 #endif

Generated on Mon Jun 17 19:53:44 2002 for Svas Server by doxygen1.2.16