138 | | LOGERROR(L"Failed to load item %d from file %ls", i, path.c_str()); |
139 | | }}} |
140 | | This gets display on screen in red, and saved in the log files. `LOGERROR` takes `wprintf`-style format strings. ''Exception:'' Code in `source/lib/` can't use `LOGERROR` (it can only use things defined in `source/lib/`). |
| 138 | LOGERROR("Failed to load item %d from file %s", i, path); |
| 139 | }}} |
| 140 | This gets display on screen in red, and saved in the log files. `LOGERROR` takes `printf`-style format strings (specially [http://cppformat.readthedocs.org/en/stable/reference.html#printf-formatting-functions cppformat]). ''Exception:'' Code in `source/lib/` can't use `LOGERROR` (it can only use things defined in `source/lib/`). |