仙侠镇尘箓2: Add error logging function

Thank you to the enthusiastic players for their feedback on the errors in the game, but sometimes I really don't know where the program or data is wrong, so I added an error log function to facilitate further communicat…