Closed Nekonyx closed 1 year ago
Change it to
Log.Debug()
please.
I think some things like this should be included in the server logs. Debugging means we have to log everything: blocks we create, their properties, and so on.
If something goes wrong in production, it may not be possible to reproduce it due to some peculiarities of this case. Therefore, at least minimal logs that help to catch on to at least something should always be present.
If in the settings a person specifies to load one of 100 maps (using Random strategy), then in case of an error we will not know which map tried to load. What is the scheme in this map. And turning on debugging and loading each of the 100 cards in turn will not be the most pleasant scenario.
Sometimes it is difficult to understand in which scheme an error occurred in creating teleporters / other objects. Therefore, it is good practice to log the name of the schema when it is initialized.