CSL.DirectoryHandler.LogError C# (CSharp) Méthode

LogError() public static méthode

public static LogError ( string error ) : void
error string
Résultat void
        public static void LogError(string error)
        {
            /*
            FileStream fs = null;

            if (!ErrorLog.Exists)
                ErrorLog.Create();
            try
            {
                fs = ErrorLog.OpenWrite();
                List<byte> bytes = new List<byte>();
                foreach (char l in error.ToCharArray())
                    bytes.Add(Convert.ToByte(l));

                fs.Write(bytes.ToArray(), 0, bytes.Count);
            }
            catch { }
            finally { if(fs != null)fs.Close(); }*/
        }