Книга: DirectX 8 Programming Tutorial
HTML Logging
HTML Logging
You may have notices in the code above, some new logging functions called LogInfo and LogError. Well, by using these new logging functions we can create a more readable log file. Errors will be highlighted in red and normal information will be in black. To see the log file, take a look in the project folder at this file called Log.htm once you have run the sample code. There is also a LogWarning function, which you can use to log warnings that will appear in orange. There is also a LogMemoryUsage() function which will log the amount of memory your application is currently using. Do not use this function inside your game loop at it is far to slow.
Оглавление статьи/книги
Похожие страницы
- Logging In to and Working with Linux
- Logging
- Применение PHP-технологий в программе HtmlPad
- Модульный HTML
- 2.1. Информация о версии HTML
- 19.2.4. Чтение и запись значений элементов HTML-форм
- Logging In and Shutting Down
- Logging Out
- Logging In and Out from a Remote Computer
- HTML5 для веб-дизайнеров
- Configure System Logging
- Handling HTML Forms