forked from kraison/vivace-graph
-
Notifications
You must be signed in to change notification settings - Fork 1
/
globals.lisp
20 lines (18 loc) · 915 Bytes
/
globals.lisp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
(in-package #:vivace-graph)
(defvar *graph* nil)
(defvar *graph-table* nil)
(defvar *active-transactions* nil)
(defvar *syslog-program* "vivace-graph")
(defvar *syslog-facility* sb-posix:log-local7)
(progn
(defparameter *syslog-priorities* (make-hash-table))
(setf (gethash :emerg *syslog-priorities*) sb-posix:log-emerg)
(setf (gethash :alert *syslog-priorities*) sb-posix:log-alert)
(setf (gethash :crit *syslog-priorities*) sb-posix:log-crit)
(setf (gethash :err *syslog-priorities*) sb-posix:log-err)
(setf (gethash :warning *syslog-priorities*) sb-posix:log-warning)
(setf (gethash :warn *syslog-priorities*) sb-posix:log-warning)
(setf (gethash :notice *syslog-priorities*) sb-posix:log-notice)
(setf (gethash :info *syslog-priorities*) sb-posix:log-info)
(setf (gethash :debug *syslog-priorities*) sb-posix:log-debug))
(defvar *prolog-global-functors* (make-hash-table :synchronized t))