-
Notifications
You must be signed in to change notification settings - Fork 3
Logger
Gratt-5r2 edited this page May 16, 2022
·
3 revisions
Allow to print messages to the file in the disk.
CLogger( string file )
- creates new logger object and file in the disk.
CCmd& operator << ( any ptr )
- print object
~CLogger()
- destroys this object and save flush data file to the disk.
⠀
in:
cmd << 200 << tab << "Golden Nuggets" << endl << 5 << tab << "rusty swords";
out:
============== Log begin 15.02.2022 ==============
15:27:40 200 Golden Nuggets
15:27:40 5 rusty swords
============== Log end ==============
- Introduction
- Project hierarchy
- Default functions
- Build options
-
Gothic API
- Base objects
- Models and visuals
- Static and interactive objects
- Animations
- Interface
- Scripts
- Worlds
- Renderer
- Other
- User API
-
Union API
- Hook
- Hook Functions
- Array
- ArraySorted
- Map
- MapArray
- String
- Unicode string
- UTF-8 converter
- RowString
- Console
- Logger
- Message
- Thread
- Event
- Semaphore
- ThreadLocker
- Crc checker
- Options
- Timer
- Union
- VDFS functions
- VirtualFile
- Hooks
- dynamic_cast patch