log.Start C# (CSharp) Method

Start() public method

public Start ( ) : void
return void
    void Start()
    {
        file = new System.IO.StreamWriter(System.Environment.GetFolderPath(System.Environment.SpecialFolder.Desktop) + "\\GameLog.txt", true);

        file.WriteLine(System.DateTime.Now.ToString("hh:mm:ss")+"  level Loaded: "+ Application.loadedLevelName);
    }