CToolLog
Overview
Logging system built on top of UE_LOG with the LogCCdryx category. Every log entry includes a timestamp, the caller object name (with outer hierarchy), and a numeric code marker for traceability.
Log format : HH:MM:SS.ms [ObjectName \ OuterName] @ code : message
Functions
| Name | Description |
|---|---|
| info | Log at Display level. On mobile, also shows on-screen message (silver, 5s). |
| warn | Log at Warning level. On mobile, on-screen message (orange, 10s). |
| error | Log at Error level. On mobile, on-screen message (red, 15s). |
| formatText | Format a string with ordered arguments. |
| printStackTrace | Dumps the current call stack as a warning log. |
Macros
| Name | Description |
|---|---|
| CDRYX_LOG_INFO | Direct UE_LOG wrapper at Display level. |
| CDRYX_LOG_WARN | Direct UE_LOG wrapper at Warning level. |
| CDRYX_LOG_ERROR | Direct UE_LOG wrapper at Error level. |
| CPRINT | Shortcut for info(this, 0, …). Use inside UObject methods. |
| CPRINT_STATIC | Shortcut for info(nullptr, 0, …). Use in static contexts. |