Method LogFolderForPlatform
LogFolderForPlatform()
Use this method to retrieve the platform specific folder where the NetCode logs files will be stored. On Desktop it use the consoleLogPath is used. For mobile, the persistentDataPath is used. For DOTS Runtime builds, it is possible to customise the output by using the -logfile command line switch.
In all cases, if the log path is null or empty, the Logs folder in the current directory is used instead.
Declaration
public static string LogFolderForPlatform()
Returns
Type | Description |
---|---|
string | A string containg the log folder full path |