public static void Error(bool debug, string method, Exception exception) { Error(debug, method, string.Format("{0}\n{1}", exception.Message, exception.StackTrace)); }