FlussuferOrga / Botgart

2 stars 4 forks source link

Excessive Logging #60

Closed ogrady closed 4 years ago

ogrady commented 4 years ago

As of https://github.com/ogrady/Botgart/commit/90bd8c0c3bade4221284460442b73ba610f742ee logging doesn't have explicit labeling anymore. Labeling was used to specify where the logging was called from. This is now automatically done by inspecting the call stack.

Util.log("error", "MyFile.js", "something went wrong");

is now

Util.log("error", "something went wrong");

but produces the same output, assuming the statement was issued from the file MyFile.js.

Jeybla commented 4 years ago

Since we are also capturing all the TS3Bot output by now, the logging seems fine to me for now.