public void Write(LogLevel log, params object[] os)
        {
            string str1 = DateTimeExtension.ToUinxTime(DateTime.Now).ToString() + (object)" " + (string)(object)log;
            string str2 = "null";

            if (HttpContext.Current != null)
            {
                str2 = this.RequestId;
            }
            string str3 = str1 + " " + this.Id + " " + str2 + " " + JArray.FromObject((object)os).ToString().Replace("\n", "").Replace("\r", "").Replace(" ", "");

            try
            {
                StreamWriter streamWriter = new StreamWriter(this.LogDirectory + DateTime.Now.Date.ToString("yyyyMMdd") + ".logdata", true, Encoding.UTF8);
                streamWriter.WriteLine(str3);
                streamWriter.Flush();
                streamWriter.Close();
            }
            catch
            {
            }
        }