/[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.1 by sysadm, Fri Jul 2 11:36:56 2004 UTC Revision 1.3 by sysadm, Thu Sep 16 15:41:45 2004 UTC
# Line 1  Line 1 
1  /*******************************************************/  /*******************************************************/
2  /*                                                     */  /*                                                     */
3  /*  LeafOK Innd                                        */  /*  LeafOK Innbbsd                                     */
4  /*  Copyright (C) LeafOK.com, 2003-2004                */  /*  Copyright (C) LeafOK.com, 2003-2004                */
5  /*                                                     */  /*                                                     */
6  /*  Programmed by Leaf                                 */  /*  Programmed by Leaf                                 */
7  /*  E-mail:leaf@leafok.com  QQ:6049044                 */  /*  E-mail:leaflet@leafok.com  QQ:6049044              */
8  /*                                                     */  /*                                                     */
9  /*  http://bbs.leafok.com                              */  /*  http://bbs.leafok.com                              */
10  /*  http://bbs.leafok.net                              */  /*  http://bbs.leafok.net                              */
# 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