LogPath
The directory path where the dedicated server writes log files.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine.DedicatedServer
- Assembly: UnityEngine.CoreModule
public static string LogPath { get; set; }
Remarks
The log directory that Unity parses from the command-line flag. If the flag isn't present, Unity uses the value from Dedicated Server Player settings. If no value is configured, this property returns . When you pass instead of , the getter returns the directory portion of the log file path.
-logpathnull-logfile-logpath