You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
424 B
Racket
15 lines
424 B
Racket
#lang racket/base
|
|
(require racket/format
|
|
racket/string
|
|
"external/logging.rkt")
|
|
|
|
(provide (all-defined-out) (all-from-out "external/logging.rkt"))
|
|
|
|
;; creates `pollen-logger` and associated functions:
|
|
;; log-pollen-fatal, log-pollen-error, log-pollen-warning,
|
|
;; log-pollen-info, and log-pollen-debug
|
|
(define-logger pollen)
|
|
|
|
(define (message . items)
|
|
(log-pollen-info (string-join (map ~a items) " ")))
|