当前位置:网站首页>[CEGUI] log system
[CEGUI] log system
2022-06-12 10:09:00 【Lindo】
CEGUI Log System
- CEGUI 0.8.7
Logger modular
CEGUI Logger modular , Used to record CEGUI Transaction log .CEGUI Provides Logger Module interface , It is used to adapt developers to different system platforms . If the platform does not provide Logger Interface , Then use DefaultLogger.
With Window Platform as an example ,DefaultLogger, adopt ofstream Default output to CEGUI.log In file ( Specific documents , Initializing DefaultLogger Time setting ).
- Block chart

Customize Logger The module is very convenient , There are only two steps :
- Inherit CEGUI::Logger, And implement the interface .
- initialization CEGUI::System front , Initialize custom Logger that will do .
- CEGUI LogLevel
enum LoggingLevel
{
Errors,
Warnings,
Standard, // Default level (Base Event)
Informative, // Info Grade
Insane // Debug Grade
};
- Use Logger Output Log
Logger::getSingleton().logEvent("Window '" + finalName +"' of type '" + type + "' has been created. " + addr_buff, Informative);
- How to get the output Log Information ?
Window Under the platform ,CEGUI default Logger System , Only will Errors( Only this level is output by default ) Of Log Save in the settings file . It can be done by Logger Interface setting , Output Level.
边栏推荐
- Dazzle the "library" action - award solicitation from the golden warehouse of the National People's Congress - high availability failover and recovery of kingbasees cluster
- 003:what does AWS think is a data lake?
- 哈希表的线性探测法代码实现
- 《真北》读书笔记
- 价值投资.
- Crazy temporary products: super low price, big scuffle and new hope
- Pandorabox uses firewall rules to define non internet time
- MySQL v Index and algorithm
- 【926. 将字符串翻转到单调递增】
- C break continue return
猜你喜欢

GNU EFI development environment settings

Example interview -- dongyuhang: harvest love in the club
![[cloud native] what exactly does it mean? This article shares the answer with you](/img/82/f268adcbdbe8195a066d065eb560d7.jpg)
[cloud native] what exactly does it mean? This article shares the answer with you

MySQL 7 affair

Strange error -- frame detected by contour detection, expansion corrosion, and reversal of opening and closing operation effect

CEPH performance optimization and enhancement

MySQL optimized slow log query

1268_ Implementation of FreeRTOS task context switching

JVM (III) Virtual machine performance monitoring & fault handling tool

MySQL III Configuration file & log file
随机推荐
SAP Hana error message sys_ XSA authentication failed SQLSTATE - 28000
What are the functions of resistance? (super full)
1268_ Implementation of FreeRTOS task context switching
《要领》读书笔记
CentOS 7 installing MySQL 8
How to implement Web3.0 and digital fashion?
[preview of the open class of Jishu] arm's strongest MCU core cortex-m85 processor helps the innovation of the Internet of things in an all-round way (there is a lottery)
【系统分析师之路】第十八章 复盘系统安全分析与设计
MySQL v Index and algorithm
Essentials reading notes
markdown_ Picture side by side scheme
Redis (I) Internal data structure
The Dragon Boat Festival is in good health -- people are becoming more and more important in my heart
Crazy temporary products: super low price, big scuffle and new hope
Japanese economic foam and house price foam
Combat tactics based on CEPH object storage
Auto. JS learning note 9: basic methods such as using the script engine, starting the script file with the specified path, and closing
C break continue return
2021-02-21
There is always a negative line (upper shadow line) that will stop the advance of many armies, and there is always a positive line (lower shadow line) that will stop the rampant bombing of the air for