Garry's Mod Wiki


  ServerLog( string parameter )


Prints ServerLog: PARAM without a newline, to the server log and console.

As of June 2022, if sv_logecho is set to 0 (defaults to 1) the message will not print to console and will only be written to the server's log file.


1 string parameter
The value to be printed to console.