  library in single user mode. Ie only one logging system. Will be true for 99%
  of all users."}
   *db* (atom {}))
+
+(declare time-formatter)
 
 ;; Config for display/tabs of the log viewer
 (defn new-db

   :showing-tab :all
   ;; Date time formatter
   ;; memfn not working?
   :time-formatter (fn[time] (.format
                              (goog.i18n.DateTimeFormat. "HH:mm:ss.SSS") time))
   ;; User defined tabs state
   :tabs (sorted-map
          ;; The main tab holding all logs

                          (g) (repeatedly 3 f) "-"
                          (repeatedly 12 f)))))

(defn time-formatter
  [time]
  (.format (goog.i18n.DateTimeFormat. "HH:mm:ss.SSS") time))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Declares
(declare action!)
