Open cryptoeax opened 6 years ago
https://github.com/cryptoeax/arbbot/blob/d6c7990e55e1d242a803248681923f8237abe1f6/bot/utils.php#L42
Currently logg() only accepts a message, we need to add a log level argument to it. We can start simple with three values, like 'info', 'warning' and 'error' and have it throw on unknown values for now to keep it extensible in the future.
logg()
Dips on this one. :)
https://github.com/cryptoeax/arbbot/blob/d6c7990e55e1d242a803248681923f8237abe1f6/bot/utils.php#L42
Currently
logg()
only accepts a message, we need to add a log level argument to it. We can start simple with three values, like 'info', 'warning' and 'error' and have it throw on unknown values for now to keep it extensible in the future.