LKCamelot.io.IOClient.WriteBug C# (CSharp) Méthode

WriteBug() public static méthode

public static WriteBug ( string bug ) : void
bug string
Résultat void
        public static void WriteBug(string bug)
        {
            lock (WriteLock)
            {
                System.IO.StreamWriter sr = new System.IO.StreamWriter("bugs.txt", true);
                sr.WriteLine(bug);
                sr.Close(); sr.Dispose();
            }
        }