public static void FunctionIndent(string cls, string func, string message = "") { Indent++; // functions.Push(cls + "." + func); functions.Push(func); if (!Config.local.log_to_file) { return; } if (string.IsNullOrEmpty(message)) { LogLine(string.Join("::", functions.Reverse()) + "::BEGIN", "Func"); //LogLine(string.Format("[{0}][{1}][{2}]::BEGIN", cls, func, Indent), "Func"); } else { LogLine(string.Join("::", functions.Reverse()) + " " + message + "::BEGIN", "Func"); //LogLine(string.Format("[{0}][{1}][{2}]::BEGIN:{3}", cls, func, Indent, message), "Func"); } }