Review critical log levels and use FATAL and PANIC as in PostgreSQL.

This commit is contained in:
Dimitri Fontaine 2013-11-16 21:34:50 +01:00
parent a6c5bc9811
commit eb468f92fd

View File

@ -7,8 +7,9 @@
;;; Logs ;;; Logs
;;; ;;;
;;; First define the log categories ;;; First define the log categories
(defcategory :critical) (defcategory :panic)
(defcategory :log (or :log :critical)) (defcategory :fatal (or :fatal :panic))
(defcategory :log (or :log :fatal))
(defcategory :error (or :error :log)) (defcategory :error (or :error :log))
(defcategory :warning (or :warning :error)) (defcategory :warning (or :warning :error))
(defcategory :notice (or :notice :warning)) (defcategory :notice (or :notice :warning))
@ -290,6 +291,8 @@
&key before finally parallel) &key before finally parallel)
"Report the full story when given three different sections of reporting." "Report the full story when given three different sections of reporting."
(terpri)
;; BEFORE ;; BEFORE
(if before (if before
(progn (progn