mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add more logging
This commit is contained in:
parent
ea858f4049
commit
4f8bf22ef1
1 changed files with 3 additions and 0 deletions
|
|
@ -13,9 +13,12 @@ static debug::Logger logger("main");
|
||||||
int main(int argc, char** argv) {
|
int main(int argc, char** argv) {
|
||||||
debug::Logger::init("latest.log");
|
debug::Logger::init("latest.log");
|
||||||
|
|
||||||
|
logger.info() << "start of the log (argc=" << argc << ")";
|
||||||
EnginePaths paths;
|
EnginePaths paths;
|
||||||
if (!parse_cmdline(argc, argv, paths))
|
if (!parse_cmdline(argc, argv, paths))
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
|
|
||||||
|
logger.info() << "configuring encoding";
|
||||||
|
|
||||||
platform::configure_encoding();
|
platform::configure_encoding();
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue