Clack.Middleware.Logger - Clack Middleware for logging.

SYNOPSIS

;; Output log messages.  
(clackup (builder  
          <clack-middleware-logger>  
          (lambda (env)  
            (log-message :notice "You've got an access!")  
            '(200 nil ("ok")))))  
 
;; Output log messages to other place.  
(clackup (builder  
          (<clack-middleware-logger>  
           :logger (make-instance '<clack-logger-file>))  
          (lambda (env)  
            (log-message :notice "You've got an access!")  
            '(200 nil ("ok"))))) 

DESCRIPTION

Clack.Middleware.Logger allows you to logg messages without stopping the Lisp process. You can customize the minimum level, format, and output destination of log messages.

Currently, Clack.Middleware.Logger can have only one logger. Sorry for the inconvenience.

AUTHOR

Eitarow Fukamachi (e.arrows@gmail.com)

SEE ALSO

EXTERNAL SYMBOLS