LevelLoggingConfiguration

The scriptable object that allows you to customize what FishNet will output logs of.

Description

The Level Logging Configuration scriptable object simply allows you to customize Fish-Networking's logging. Once created, it can be selected on the NetworkManager component. There are four logging levels available for the various build and editor types. Off will permit no logs, Error will only permit direct error logs, Warning will allow error and warning logs, and Common will allow all logging, including errors, warnings, and informational logs.

Settings

Default Settings

⚙️ Is Enabled

This is simply a toggle to enable and disable all of Fish-Networking's logs.

⚙️ Add Local Tick

This option allows you to prepend the network's local tick when log was made onto the log message. This can be quite handy for precise debugging.

⚙️ Add Timestamps

This allows you to prepend to all logs the local date and time when the log was made.

⚙️ Enable Timestamps In Editor

Since Unity's console already includes the time that logs are sent at, it can be handy to hide FishNet's Timestamps in the editor and only display them in builds.

⚙️ Development Logging

This controls the level of logs sent while the game is a development build or editor.

⚙️ GUI Logging

This controls the level of logging to use when the game is built regularly, as opposed to a headless (non GUI) build.

⚙️ Headless Logging

This controls the logging level for headless game builds.

Last updated