Logging

Improvement is dramatical, actually more than I expected. You can really feel it in game.


Try run map “The Mandate of Heaven” :smiley:

Good to hear it! If performance is still a issue, just let me know:)

I still would like to know WHY this bloody constructor was so slow?

Sorry for late response :), try this:

"logging" : {
        "console" : {
            "colorMapping" : 
                {
                    "color" : "magenta",
                    "domain" : "network",
                    "level" : "trace"
                },
                {
                    "color" : "teal",
                    "domain" : "ai",
                    "level" : "debug"
                }
            ],
            "threshold" : "debug"
        }
    }

Threshold specifies maximum log level for console. Your trace messages with teal color weren’t logged at all. Set either level to debug in the color mapping or set threshold to trace (I wouldn’t suggest that, because then you will get a lot of noise).

Thanks. However, the following is already included in “Adventure AI trace” mod in our repository :stuck_out_tongue: