public class Log
Members:
static function trace(string msg) Prints a trace logmessagestatic function debug(string msg) Prints a debug logmessagestatic function info(string msg) Prints a info logmessagestatic function warn(string msg) Prints a warning logmessagestatic function error(string msg) Prints a warning logmessagestatic function setLevel(Loglevel lvl)public enum Loglevel
Values: TRACE, DEBUG, INFO, WARNING, ERROR
public function print(string msg)
🔧 Configurable. Override it in your map’s config package.
Prints a simple message.
public function print(int msg)
🔧 Configurable. Override it in your map’s config package.
Prints a simple message.
public function print(real msg)
🔧 Configurable. Override it in your map’s config package.
Prints a simple message.
public function print(bool msg)
🔧 Configurable. Override it in your map’s config package.
Prints a simple message.
public function printLog(Loglevel loglvl, string msg)
🔧 Configurable. Override it in your map’s config package.
Prints a special motification-message
public function printLog(player showTo, Loglevel loglvl, string msg)
🔧 Configurable. Override it in your map’s config package.
public function printTimed(string msg, real duration)
🔧 Configurable. Override it in your map’s config package.
Prints a simple message that is shown for the given duration
public function print(string msg, real duration)
Prints a simple message that is shown for the given duration
public function printTimedToPlayer(string msg, real duration, player p)
🔧 Configurable. Override it in your map’s config package.
Prints a simple message that is shown to the player for the given duration
public function printTimedToPlayerClear(string msg, real duration, player p)
Prints a simple message after clearing all messages that is shown to the player for the given duration
public function Loglevel.getTag() returns string
🔧 Configurable. Override it in your map’s config package.
public function player.print(string msg, real duration)
Prints a timed message that is shown to the player for the given duration
public function player.print(string msg)
Prints a simple message that is shown to the player