MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / LoadLogFile

Method LoadLogFile

Source/Editor/Windows/OutputLogWindow.cs:706–714  ·  view source on GitHub ↗

Loads the log from the file selected by the user with the file pickup dialog.

()

Source from the content-addressed store, hash-verified

704 /// Loads the log from the file selected by the user with the file pickup dialog.
705 /// </summary>
706 public void LoadLogFile()
707 {
708 if (FileSystem.ShowOpenFileDialog(null, Path.Combine(Globals.ProjectFolder, "Logs"), null, false, "Pick a log file to load", out var files))
709 return;
710 if (files != null && files.Length > 0)
711 {
712 LoadLogFile(files[0]);
713 }
714 }
715
716 /// <summary>
717 /// Loads the log file.

Callers

nothing calls this directly

Calls 8

ReadLineMethod · 0.80
SubstringMethod · 0.80
ShowOpenFileDialogMethod · 0.45
ClearMethod · 0.45
MatchMethod · 0.45
StartsWithMethod · 0.45
ParseMethod · 0.45
AddMethod · 0.45

Tested by

no test coverage detected