zlog.exe V1.0
-------------

What is ziron log(ZLog)?
------------------------

ZLog is a win32 debug tool for c/c++. 
It works well under DirectX, MFC, win32 program, or console. 
It is a perfect win95 games developing tool. 
                                                                                   

Zlog includes:
--------------
A log string manager, which lets you send your debug string to its windows.
A Visual C/C++ compatible Library(SingleThread, MultiThread) 



Features
---------
Very easy to use. 
It supports DirectX, win32, and MFC program very well. 
It works similar to TRACE(in MFC). 
It lets you develope your game project in retail mode from the very 
beginning 
You can switch off the ZLog lib. at anytime, so that your game 
can run at full speed 



Library Functions include:
---------------------------
The library only has 5 functions. 

     INIT_ZIRON_LOG() :- Init the library 
     END_ZIRON_LOG() :- Deinit the library 
     ZLOG(char *format, ...):- macro to output data to the Log manager main window, it functions similar to "TRACE". 
     ZERROR_LOG(char *format, ...); :Output a string to the Error window in the Log Manager. 
     ZNUM(int widowId, int number); : You have 8 number boxes on the right site of the Manager, You may output numbers to
     those boxes to trace values. Valid windowID range from 0 to 7. For eg. I use 0 for my game's FrameRate, 1&2, for mouse
     cursor position. 



Setup ZLog
-----------

   1.Unzip zlog.zip to c:\ziron\zlog
   2.Run Microsoft Developer Studio
   3.On the Tools menu, click Options. The Options dialog box appears.
   4.Select the Directories tab.
   5.In the directories box, double-click the blank line at the bottom of the list, and enter c:\ziron\zlog. Press enter.
   6.In the show Directories list box, select the library files category.
   7.In the directories box, double-click the blank line at the bottom of the list, and enter c:\ziron\zlog. Press enter.



Using ZLog with your game for debugging
---------------------------------------

   1.Run Zlog.exe from c:\ziron\zlog
   2.Run Microsoft Developer studio
   3.Insert c:\ziron\zlog\zlog.lib[for single threading] or c:\ziron\zlog\zlogmt.lib[for multi-threading] into your Project. Insert->Files
     into Project->c:\ziron\zlog\zlog[mt].lib
   4.put #include "zlog.h" in your main module[where your winmain or main is].
   5.in the first line of your Winmain, add INIT_ZIRON_LOG();
   6.in the last line of your winmain, add END_ZIRON_LOG();
   7.Now you may call ZLOG,ZERROR_LOG and ZNUM anywhere in your game for string loging!



Future features
---------------

     Support debugging across network. 
     Using more than one computer to debug your program at the same time 
     Support other programming languages(Delphi, VBasic,etc) 



Copyright
---------
ZLog is a fully functional shareware. 
you may distribute this program freely as long as it is remain unmodify.



Source
-------
You may find the latest version of ZLog at:
http://www.ziron.com

Contact
=======
Bugs report, Comments, questions and suggestions are welcome,
please write to:
Diing
email: zlog@ziron.com
http://www.ziron.com
