Network.logLevel Manual     Reference     Scripting  
Scripting > Runtime Classes > Network
Network.logLevel

static var logLevel : NetworkLogLevel

Description

Set the log level for network messages (default is Off).

For a description of the different log levels have a look at the NetworkLogLevel enum.

JavaScript
function Start () {
Network.logLevel = NetworkLogLevel.Full;
}

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
void Start() {
Network.logLevel = NetworkLogLevel.Full;
}
}

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Start():
Network.logLevel = NetworkLogLevel.Full