Example #1
0
        public ActionResult GetLogEntries(string log, string type, string minutes, string from, string until, string include, string exclude)
        {
            ElmcityApp.logger.LogHttpRequest(this.ControllerContext);

            LogEntriesResult r = null;

            try
            {
                r = new LogEntriesResult(log, type, minutes, from, until, include, exclude);
            }
            catch (Exception e)
            {
                GenUtils.PriorityLogMsg("exception", "GetLogEntries", e.Message);
            }
            return(r);
        }
        public ActionResult GetLogEntries(string log, string type, string minutes, string from, string until, string include, string exclude)
        {
            ElmcityApp.logger.LogHttpRequest(this.ControllerContext);

            LogEntriesResult r = null;

            try
            {
                r = new LogEntriesResult(log, type, minutes, from, until, include, exclude);
            }
            catch (Exception e)
            {
                GenUtils.PriorityLogMsg("exception", "GetLogEntries", e.Message);
            }
            return r;
        }