Function set_enforced_log_level

Source
pub fn set_enforced_log_level(pid: u16, enforced_log_level: i16)
Expand description

Set the client log level enforced for a player.

This changes the enforced log level for that player in the server memory, but does not by itself
send a packet.

Enforcing a certain log level is necessary to prevent players from learning information from
their console window that they are otherwise unable to obtain, such as the locations of
other players.

If you do not wish to enforce a log level, simply set enforcedLogLevel to -1

pid The player ID.
enforced_log_level The enforced log level.

Returns void