/[LeafOK_CVS]/innwebd/logfile.cpp
ViewVC logotype

Diff of /innwebd/logfile.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 by sysadm, Sun Jul 4 06:45:23 2004 UTC Revision 1.4 by sysadm, Sat Feb 26 16:10:26 2005 UTC
# Line 1  Line 1 
1  /*******************************************************/  /*******************************************************/
2  /*                                                     */  /*                                                     */
3  /*  LeafOK Innbbsd                                     */  /*  LeafOK Innbbsd                                     */
4  /*  Copyright (C) LeafOK.com, 2003-2004                */  /*  Copyright (C) LeafOK.com, 2003-2005                */
5  /*                                                     */  /*                                                     */
6  /*  Programmed by Leaf                                 */  /*  Programmed by Leaf                                 */
7  /*  E-mail:leaflet@leafok.com  QQ:6049044              */  /*  E-mail:leaflet@leafok.com  QQ:6049044              */
# Line 33  logfile& logfile::log_head(logfile& logf Line 33  logfile& logfile::log_head(logfile& logf
33          newtime = _localtime64( &ltime );          newtime = _localtime64( &ltime );
34          strftime(s_time,255,"%d/%b/%Y %H:%M:%S",newtime);          strftime(s_time,255,"%d/%b/%Y %H:%M:%S",newtime);
35    
36          logfile << "[" << s_time << "] ";          logfile << "[" << s_time << "] [" << GetCurrentThreadId() << "] ";
37    
38          return logfile;          return logfile;
39  }  }


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1