The a-cl-logger Reference Manual

This is the a-cl-logger Reference Manual, version 1.0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon Feb 26 14:30:10 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 a-cl-logger

A logger that sends to multiple destinations in multiple formats. Based on arnesi logger

Author

Russ Tyndall <>

License

BSD

Version

1.0.1

Dependencies
  • iterate (system).
  • symbol-munger (system).
  • alexandria (system).
  • cl-interpol (system).
  • cl-json (system).
  • local-time (system).
  • cl-json (system).
  • closer-mop (system).
  • osicat (system).
  • exit-hooks (system).
Source

a-cl-logger.asd.

Child Components

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


3.1 Lisp


3.1.1 a-cl-logger/a-cl-logger.asd

Source

a-cl-logger.asd.

Parent Component

a-cl-logger (system).

ASDF Systems

a-cl-logger.

Packages

a-cl-logger.system.


3.1.2 a-cl-logger/packages.lisp

Source

a-cl-logger.asd.

Parent Component

a-cl-logger (system).

Packages

a-cl-logger.


3.1.3 a-cl-logger/utils.lisp

Dependency

packages.lisp (file).

Source

a-cl-logger.asd.

Parent Component

a-cl-logger (system).

Public Interface
Internals

3.1.4 a-cl-logger/log.lisp

Dependency

utils.lisp (file).

Source

a-cl-logger.asd.

Parent Component

a-cl-logger (system).

Public Interface
Internals

3.1.5 a-cl-logger/appenders.lisp

Dependency

log.lisp (file).

Source

a-cl-logger.asd.

Parent Component

a-cl-logger (system).

Public Interface
Internals

3.1.6 a-cl-logger/helpers.lisp

Dependency

appenders.lisp (file).

Source

a-cl-logger.asd.

Parent Component

a-cl-logger (system).

Public Interface
Internals

4 Packages

Packages are listed by definition order.


4.1 a-cl-logger.system

Source

a-cl-logger.asd.

Use List
  • asdf/interface.
  • common-lisp.

4.2 a-cl-logger

Source

packages.lisp.

Nickname

a-log

Use List
  • common-lisp.
  • iterate.
Public Interface
Internals

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


5.1 Public Interface


5.1.1 Special variables

Special Variable: *appender*
Package

a-cl-logger.

Source

utils.lisp.

Special Variable: *log-level-names*
Package

a-cl-logger.

Source

utils.lisp.

Special Variable: *message*
Package

a-cl-logger.

Source

utils.lisp.

Special Variable: *root-logger*

By default all loggers have the *root-logger* as a parent

Package

a-cl-logger.

Source

utils.lisp.

Special Variable: +debug+
Package

a-cl-logger.

Source

utils.lisp.

Special Variable: +dribble+
Package

a-cl-logger.

Source

utils.lisp.

Special Variable: +error+
Package

a-cl-logger.

Source

utils.lisp.

Special Variable: +fatal+
Package

a-cl-logger.

Source

utils.lisp.

Special Variable: +info+
Package

a-cl-logger.

Source

utils.lisp.

Special Variable: +warn+
Package

a-cl-logger.

Source

utils.lisp.


5.1.2 Macros

Macro: define-logger (name parents &key compile-time-level level appenders documentation force?)
Package

a-cl-logger.

Source

log.lisp.

Macro: get-logger! (&rest places)
Package

a-cl-logger.

Source

utils.lisp.

Macro: log-around (logger-form &body body)
Package

a-cl-logger.

Source

helpers.lisp.

Macro: log-errors ((logger &optional message) &body body)

like ignore-errors but logs instead

Package

a-cl-logger.

Source

helpers.lisp.

Macro: log-serious-conditions ((logger &optional message) &body body)

like ignore-errors but logs instead

Package

a-cl-logger.

Source

helpers.lisp.

Macro: require-logger! (&rest places)
Package

a-cl-logger.

Source

utils.lisp.

Macro: when-log-message-appended ((&body handler-body) &body body)
Package

a-cl-logger.

Source

helpers.lisp.

Macro: when-log-message-generated ((&body handler-body) &body body)
Package

a-cl-logger.

Source

helpers.lisp.

Macro: with-appender ((logger appender) &body body)

Add an appender to logger for the duration of the scope

Package

a-cl-logger.

Source

helpers.lisp.

Macro: with-logged-output ((logger) &body body)
Package

a-cl-logger.

Source

helpers.lisp.

Macro: with-logged-output-to-place ((logger place) &body body)
Package

a-cl-logger.

Source

helpers.lisp.


5.1.3 Ordinary functions

Function: add-signal-handler (logger condition-name fn)
Package

a-cl-logger.

Source

log.lisp.

Function: alist-as-json (alist)

Create a pre-encoded json object from an alist

Package

a-cl-logger.

Source

appenders.lisp.

Function: close-all-files (&key loggers)
Package

a-cl-logger.

Source

helpers.lisp.

Function: do-log (log level &rest args)
Package

a-cl-logger.

Source

log.lisp.

Function: ensure-debug-io-appender (logger)
Package

a-cl-logger.

Source

appenders.lisp.

Function: ensure-file-appender (logger &key buffer-p name directory path)
Package

a-cl-logger.

Source

appenders.lisp.

Function: ensure-stderr-appender (logger)
Package

a-cl-logger.

Source

appenders.lisp.

Function: find-appender (logger &key type predicate recurse?)
Package

a-cl-logger.

Source

appenders.lisp.

Function: get-log-fn (log-id &key level)

Given a logger identifier name like ’adwolf-log.debug or ’adwolf-log find the logger associated with it and build a (lambda (message &rest args)) that can be funcalled to log to that logger.

Package

a-cl-logger.

Source

helpers.lisp.

Function: get-logger (name)
Package

a-cl-logger.

Source

log.lisp.

Function: (setf get-logger) (name)
Package

a-cl-logger.

Source

log.lisp.

Function: log-level-name-of (level &key raw?)
Package

a-cl-logger.

Source

log.lisp.

Function: make-log-path (root file)
Package

a-cl-logger.

Source

helpers.lisp.

Function: make-message (logger level args &key arg-literals data-plist)
Package

a-cl-logger.

Source

log.lisp.

Function: plist-as-json (&rest plist)

Create a pre-encoded json object from a plist

Package

a-cl-logger.

Source

appenders.lisp.

Function: push-into-message (&rest plist)
Package

a-cl-logger.

Source

helpers.lisp.

Function: remove-appender (logger &key type predicate path recurse?)
Package

a-cl-logger.

Source

appenders.lisp.

Function: require-logger (name)
Package

a-cl-logger.

Source

log.lisp.

Function: setup-logger (logger &key level file-name log-root buffer-p)

Reconfigures a logger such that it matches the setup specified

This is sometimes necessary if your streams get messed up (eg: slime disconnect and reconnect)

Always ensure there is a *error-output* stream logger
and if a file-name is passed in a file-logger going to it

Package

a-cl-logger.

Source

helpers.lisp.


5.1.4 Generic functions

Generic Function: append-message (log-appender message)

The method responsible for actually putting the logged information somewhere

Package

a-cl-logger.

Source

appenders.lisp.

Methods
Method: append-message ((appender file-log-appender) message)
Method: append-message ((s stream-log-appender) message)
Generic Reader: appender (condition)
Generic Writer: (setf appender) (condition)
Package

a-cl-logger.

Methods
Reader Method: appender ((condition appending-message))
Writer Method: (setf appender) ((condition appending-message))
Source

log.lisp.

Target Slot

appender.

Generic Reader: appenders (object)
Generic Writer: (setf appenders) (object)
Package

a-cl-logger.

Methods
Reader Method: appenders ((logger logger))
Writer Method: (setf appenders) ((logger logger))

A list of appender objects this logger sholud send messages to.

Source

log.lisp.

Target Slot

appenders.

Generic Reader: children (object)
Generic Writer: (setf children) (object)
Package

a-cl-logger.

Methods
Reader Method: children ((logger logger))
Writer Method: (setf children) ((logger logger))

The logger which inherit from this logger.

Source

log.lisp.

Target Slot

children.

Generic Reader: data-plist (object)
Package

a-cl-logger.

Methods
Reader Method: data-plist ((message message))

automatically generated reader method

Source

log.lisp.

Target Slot

data-plist.

Generic Writer: (setf data-plist) (object)
Package

a-cl-logger.

Methods
Writer Method: (setf data-plist) ((message message))

automatically generated writer method

Source

log.lisp.

Target Slot

data-plist.

Generic Reader: default-signal-bindings (object)
Package

a-cl-logger.

Methods
Reader Method: default-signal-bindings ((logger logger))

automatically generated reader method

Source

log.lisp.

Target Slot

default-signal-bindings.

Generic Writer: (setf default-signal-bindings) (object)
Package

a-cl-logger.

Methods
Writer Method: (setf default-signal-bindings) ((logger logger))

automatically generated writer method

Source

log.lisp.

Target Slot

default-signal-bindings.

Generic Function: do-logging (logger message)

Applys a message to the loggers appenders
Message is either a string or a list. When it’s a list and the first element is a string then it’s processed as args to cl:format.

Package

a-cl-logger.

Source

log.lisp.

Methods
Method: do-logging :around (logger message)
Method: do-logging (log (message null))
Method: do-logging (log (message message))
Generic Reader: format-args (object)
Package

a-cl-logger.

Methods
Reader Method: format-args ((message message))

automatically generated reader method

Source

log.lisp.

Target Slot

format-args.

Generic Writer: (setf format-args) (object)
Package

a-cl-logger.

Methods
Writer Method: (setf format-args) ((message message))

automatically generated writer method

Source

log.lisp.

Target Slot

format-args.

Generic Reader: format-control (object)
Package

a-cl-logger.

Methods
Reader Method: format-control ((message message))

automatically generated reader method

Source

log.lisp.

Target Slot

format-control.

Generic Writer: (setf format-control) (object)
Package

a-cl-logger.

Methods
Writer Method: (setf format-control) ((message message))

automatically generated writer method

Source

log.lisp.

Target Slot

format-control.

Generic Function: format-message (appender formatter message stream)
Package

a-cl-logger.

Source

appenders.lisp.

Methods
Method: format-message ((appender appender) formatter (message message) stream)
Method: format-message ((appender appender) (formatter json-formatter) (message message) stream)
Generic Reader: formatter (object)
Package

a-cl-logger.

Methods
Reader Method: formatter ((appender appender))

automatically generated reader method

Source

appenders.lisp.

Target Slot

formatter.

Generic Writer: (setf formatter) (object)
Package

a-cl-logger.

Methods
Writer Method: (setf formatter) ((appender appender))

automatically generated writer method

Source

appenders.lisp.

Target Slot

formatter.

Generic Reader: json (object)
Package

a-cl-logger.

Methods
Reader Method: json ((json json))

automatically generated reader method

Source

appenders.lisp.

Target Slot

json.

Generic Writer: (setf json) (object)
Package

a-cl-logger.

Methods
Writer Method: (setf json) ((json json))

automatically generated writer method

Source

appenders.lisp.

Target Slot

json.

Generic Reader: level (object)
Package

a-cl-logger.

Methods
Reader Method: level ((appender appender))

automatically generated reader method

Source

appenders.lisp.

Target Slot

level.

Reader Method: level ((logger logger))

This loggers level.

Source

log.lisp.

Target Slot

level.

Reader Method: level ((message message))

automatically generated reader method

Source

log.lisp.

Target Slot

level.

Generic Writer: (setf level) (object)
Package

a-cl-logger.

Methods
Writer Method: (setf level) ((appender appender))

automatically generated writer method

Source

appenders.lisp.

Target Slot

level.

Writer Method: (setf level) ((logger logger))

This loggers level.

Source

log.lisp.

Target Slot

level.

Writer Method: (setf level) ((message message))

automatically generated writer method

Source

log.lisp.

Target Slot

level.

Generic Function: log-level (log)
Package

a-cl-logger.

Source

log.lisp.

Methods
Method: log-level ((log logger))
Method: log-level (it)
Generic Function: (setf log-level) (log &optional recursive)

Change the logger’s level of to NEW-LEVEL. If RECUSIVE is T the setting is also applied to the sub logger of logger.

Package

a-cl-logger.

Source

log.lisp.

Methods
Method: (setf log-level) ((appender appender) &optional recursive)
Source

appenders.lisp.

Method: (setf log-level) (log &optional recursive)
Generic Reader: log-stream (object)
Package

a-cl-logger.

Methods
Reader Method: log-stream ((stream-log-appender stream-log-appender))

automatically generated reader method

Source

appenders.lisp.

Target Slot

stream.

Generic Writer: (setf log-stream) (object)
Package

a-cl-logger.

Methods
Writer Method: (setf log-stream) ((stream-log-appender stream-log-appender))

automatically generated writer method

Source

appenders.lisp.

Target Slot

stream.

Generic Reader: logger (condition)
Package

a-cl-logger.

Methods
Reader Method: logger ((message message))

automatically generated reader method

Source

log.lisp.

Target Slot

logger.

Reader Method: logger ((condition appending-message))
Source

log.lisp.

Target Slot

logger.

Reader Method: logger ((condition logging-message))
Source

log.lisp.

Target Slot

logger.

Generic Writer: (setf logger) (condition)
Package

a-cl-logger.

Methods
Writer Method: (setf logger) ((message message))

automatically generated writer method

Source

log.lisp.

Target Slot

logger.

Writer Method: (setf logger) ((condition appending-message))
Source

log.lisp.

Target Slot

logger.

Writer Method: (setf logger) ((condition logging-message))
Source

log.lisp.

Target Slot

logger.

Generic Reader: message (condition)
Generic Writer: (setf message) (condition)
Package

a-cl-logger.

Methods
Reader Method: message ((condition appending-message))
Writer Method: (setf message) ((condition appending-message))
Source

log.lisp.

Target Slot

message.

Reader Method: message ((condition logging-message))
Writer Method: (setf message) ((condition logging-message))
Source

log.lisp.

Target Slot

message.

Reader Method: message ((condition generating-message))
Writer Method: (setf message) ((condition generating-message))
Source

log.lisp.

Target Slot

message.

Generic Reader: name (condition)
Package

a-cl-logger.

Methods
Reader Method: name ((logger logger))

automatically generated reader method

Source

log.lisp.

Target Slot

name.

Reader Method: name ((message message))

automatically generated reader method

Source

log.lisp.

Target Slot

name.

Reader Method: name ((condition missing-logger))
Source

log.lisp.

Target Slot

name.

Generic Writer: (setf name) (condition)
Package

a-cl-logger.

Methods
Writer Method: (setf name) ((logger logger))

automatically generated writer method

Source

log.lisp.

Target Slot

name.

Writer Method: (setf name) ((message message))

automatically generated writer method

Source

log.lisp.

Target Slot

name.

Writer Method: (setf name) ((condition missing-logger))
Source

log.lisp.

Target Slot

name.

Generic Reader: parents (object)
Generic Writer: (setf parents) (object)
Package

a-cl-logger.

Methods
Reader Method: parents ((logger logger))
Writer Method: (setf parents) ((logger logger))

The logger this logger inherits from.

Source

log.lisp.

Target Slot

parents.


5.1.5 Standalone methods

Method: initialize-instance :after ((a appender) &key &allow-other-keys)
Source

appenders.lisp.

Method: initialize-instance :after ((a string-stream-appender) &key &allow-other-keys)
Source

appenders.lisp.

Method: initialize-instance :after ((log logger) &key &allow-other-keys)
Source

log.lisp.

Method: print-object ((log logger) stream)
Source

log.lisp.


5.1.6 Conditions

Condition: appending-message
Package

a-cl-logger.

Source

log.lisp.

Direct superclasses

condition.

Direct methods
Direct slots
Slot: message
Initform

(quote nil)

Initargs

:message

Readers

message.

Writers

(setf message).

Slot: logger
Initform

(quote nil)

Initargs

:logger

Readers

logger.

Writers

(setf logger).

Slot: appender
Initform

(quote nil)

Initargs

:appender

Readers

appender.

Writers

(setf appender).

Condition: generating-message
Package

a-cl-logger.

Source

log.lisp.

Direct superclasses

condition.

Direct methods
Direct slots
Slot: message
Initform

(quote nil)

Initargs

:message

Readers

message.

Writers

(setf message).

Condition: logging-message
Package

a-cl-logger.

Source

log.lisp.

Direct superclasses

condition.

Direct methods
Direct slots
Slot: message
Initform

(quote nil)

Initargs

:message

Readers

message.

Writers

(setf message).

Slot: logger
Initform

(quote nil)

Initargs

:logger

Readers

logger.

Writers

(setf logger).


5.1.7 Classes

Class: appender

The base of all log appenders (destinations)

Package

a-cl-logger.

Source

appenders.lisp.

Direct subclasses

stream-log-appender.

Direct methods
Direct slots
Slot: formatter
Initargs

:formatter

Readers

formatter.

Writers

(setf formatter).

Slot: level
Initargs

:level

Readers

level.

Writers

(setf level).

Class: debug-io-log-appender
Package

a-cl-logger.

Source

appenders.lisp.

Direct superclasses

stream-log-appender.

Direct Default Initargs
InitargValue
:stream*debug-io*
Class: file-log-appender
Package

a-cl-logger.

Source

appenders.lisp.

Direct superclasses

stream-log-appender.

Direct subclasses

json-file-log-appender.

Direct methods
Direct Default Initargs
InitargValue
:date-formatiso
Direct slots
Slot: log-file

Name of the file to write log messages to.

Initargs

:log-file

Readers

log-file.

Writers

(setf log-file).

Slot: buffer-p
Initform

t

Initargs

:buffer-p

Readers

buffer-p.

Writers

(setf buffer-p).

Class: formatter

The base class of all message formatters

Package

a-cl-logger.

Source

appenders.lisp.

Direct subclasses
Class: json

A type to know when something is already encoded, so that
we just write it out. It is sometimes beneficial to pre-encode some bits of log data and this allows that

Package

a-cl-logger.

Source

appenders.lisp.

Direct methods
Direct slots
Slot: json
Initargs

:json

Readers

json.

Writers

(setf json).

Class: json-formatter

The base class of all json formatters

Package

a-cl-logger.

Source

appenders.lisp.

Direct superclasses

formatter.

Direct methods
Class: logger
Package

a-cl-logger.

Source

log.lisp.

Direct methods
Direct slots
Slot: name
Initargs

:name

Readers

name.

Writers

(setf name).

Slot: signal-messages
Initform

t

Initargs

:signal-messages

Readers

signal-messages.

Writers

(setf signal-messages).

Slot: default-signal-bindings
Initargs

:default-signal-bindings

Readers

default-signal-bindings.

Writers

(setf default-signal-bindings).

Slot: parents

The logger this logger inherits from.

Initform

(quote nil)

Initargs

:parents

Readers

parents.

Writers

(setf parents).

Slot: children

The logger which inherit from this logger.

Initform

(quote nil)

Initargs

:children

Readers

children.

Writers

(setf children).

Slot: appenders

A list of appender objects this logger sholud send messages to.

Initform

(quote nil)

Initargs

:appenders

Readers

appenders.

Writers

(setf appenders).

Slot: level

This loggers level.

Type

(or null integer)

Initargs

:level

Readers

level.

Writers

(setf level).

Slot: compile-time-level

This loggers’s compile time level. Any log expression below this level will macro-expand to NIL.

Type

(or null integer)

Initargs

:compile-time-level

Readers

compile-time-level.

Writers

(setf compile-time-level).

Class: message
Package

a-cl-logger.

Source

log.lisp.

Direct methods
Direct slots
Slot: name
Initargs

:name

Readers

name.

Writers

(setf name).

Slot: logger
Initargs

:logger

Readers

logger.

Writers

(setf logger).

Slot: level
Initargs

:level

Readers

level.

Writers

(setf level).

Slot: format-control
Initargs

:format-control

Readers

format-control.

Writers

(setf format-control).

Slot: format-args
Initargs

:format-args

Readers

format-args.

Writers

(setf format-args).

Slot: data-plist
Initargs

:data-plist

Readers

data-plist.

Writers

(setf data-plist).

Slot: arg-literals
Initargs

:arg-literals

Readers

arg-literals.

Writers

(setf arg-literals).

Slot: timestamp
Initform

(local-time:now)

Initargs

:timestamp

Readers

timestamp.

Writers

(setf timestamp).

Class: raw-formatter

format the message with no annotations

Package

a-cl-logger.

Source

appenders.lisp.

Direct superclasses

formatter.

Class: stderr-log-appender
Package

a-cl-logger.

Source

appenders.lisp.

Direct superclasses

stream-log-appender.

Direct Default Initargs
InitargValue
:stream*error-output*
Class: stream-log-appender

Human readable to the console logger.

Package

a-cl-logger.

Source

appenders.lisp.

Direct superclasses

appender.

Direct subclasses
Direct methods
Direct slots
Slot: stream
Package

common-lisp.

Initargs

:stream

Readers

log-stream.

Writers

(setf log-stream).

Slot: date-format

Format to print dates. Format can be one of: (:iso :stamp :time)

Initform

:time

Initargs

:date-format

Class: string-stream-appender

a log that appends all messages into a string stream

Package

a-cl-logger.

Source

appenders.lisp.

Direct superclasses

stream-log-appender.

Direct methods

initialize-instance.


5.2 Internals


5.2.1 Special variables

Special Variable: *logger*
Package

a-cl-logger.

Source

utils.lisp.

Special Variable: *logger-vars*
Package

a-cl-logger.

Source

utils.lisp.

Special Variable: *max-logger-name-length*
Package

a-cl-logger.

Source

utils.lisp.

Special Variable: +muted+
Package

a-cl-logger.

Source

utils.lisp.


5.2.2 Macros

Macro: define-log-helpers (logger-name)
Package

a-cl-logger.

Source

log.lisp.

Macro: define-mutator-macros (&rest names)

defines mutator macros for a function name
eg: ensure-account-id =>
(defmacro ensure-account-id! (&rest places) ... ) which (setf place (name place) for each place)

%name is just so we dont accidentally run into someone using name accidentally

Package

a-cl-logger.

Source

utils.lisp.

Macro: ensure-level-value! (&rest places)
Package

a-cl-logger.

Source

utils.lisp.

Macro: ensure-list! (&rest places)
Package

a-cl-logger.

Source

utils.lisp.

Macro: ensure-message! (&rest places)
Package

a-cl-logger.

Source

utils.lisp.

Macro: maybe-with-presentations ((output-stream var &rest stream-properties) &body body)

Buffer the output to var, printing as if to a swank dedicated presentation stream, dumping to a freshline on the output-stream when done.

Package

a-cl-logger.

Source

utils.lisp.

Macro: push-m-plist (plist place)
Package

a-cl-logger.

Source

utils.lisp.

Macro: root-logger.debug (&rest @message-args)
Package

a-cl-logger.

Source

helpers.lisp.

Macro: root-logger.dribble (&rest @message-args)
Package

a-cl-logger.

Source

helpers.lisp.

Macro: root-logger.error (&rest @message-args)
Package

a-cl-logger.

Source

helpers.lisp.

Macro: root-logger.fatal (&rest @message-args)
Package

a-cl-logger.

Source

helpers.lisp.

Macro: root-logger.info (&rest @message-args)
Package

a-cl-logger.

Source

helpers.lisp.

Macro: root-logger.muted (&rest @message-args)
Package

a-cl-logger.

Source

helpers.lisp.

Macro: root-logger.warn (&rest @message-args)
Package

a-cl-logger.

Source

helpers.lisp.

Macro: when-log-message-* (signal (&body handler-body) &body body)

A macro that allows appending data to the log message based on the dynamic context of the message as it is being generated.

The data-builder-form will be executed inside a context where (push-into-message key value) is a function to put data into the message the first form is

Inside of the handler body, a ‘change-message‘ restart is available

Ex: attaching information about the current http-context to log messages originating from it.

Package

a-cl-logger.

Source

helpers.lisp.

Macro: when-log-message-logged ((&body handler-body) &body body)
Package

a-cl-logger.

Source

helpers.lisp.

Macro: with-auto-unique-names ((&rest names) &body body)
Package

a-cl-logger.

Source

utils.lisp.

Macro: with-change-message ((message-place) &body body)
Package

a-cl-logger.

Source

log.lisp.

Macro: with-debugging-or-error-printing ((logger &key continue) &body body)
Package

a-cl-logger.

Source

utils.lisp.

Macro: with-logger-level (logger-name new-level &body body)

Set the level of the listed logger(s) to NEW-LEVEL and restore the original value in an unwind-protect.

Package

a-cl-logger.

Source

utils.lisp.

Macro: with-logging-io (() &body body)
Package

a-cl-logger.

Source

utils.lisp.

Macro: with-macro-splicing ((&rest names) &body forms)

Double quasi-quoting hurts my head so lets do it a bit different

Instead lets replace symbols in the expansion with values named by the same symbols in the expansion environment.

Obviously care needs to be taken when processing forms passed by the user, but that is the name of the macro game.

Variables starting with an @ (such as @body) are spliced as with ‘(progn ,@)

In the interest of enhanced readability it is suggested that all template variables start with $ or @ so that they stand out

eg:
(let ((@b ’(2 3))) (with-macro-splicing (($a 1) @b) (+ $a @b 4)))
=> (+ 1 2 3 4)

Package

a-cl-logger.

Source

utils.lisp.

Macro: with-stream-restarts ((s recall) &body body)
Package

a-cl-logger.

Source

appenders.lisp.


5.2.3 Ordinary functions

Function: %filter-plist (msg &optional exclude)
Package

a-cl-logger.

Source

appenders.lisp.

Function: %logger-name-for-output (log &key width)

Output the logger name such that it takes exactly :width characters and displays the right most :width characters if name is too long

this simplifies our formatting

Package

a-cl-logger.

Source

log.lisp.

Function: %make-log-helper (logger message-level-name)

Creates macros like logger.debug to facilitate logging

Package

a-cl-logger.

Source

log.lisp.

Function: %open-log-file (ufla)
Package

a-cl-logger.

Source

appenders.lisp.

Function: %safe-log-helper-arg (form)
Package

a-cl-logger.

Source

log.lisp.

Function: as-json-array (list)
Package

a-cl-logger.

Source

utils.lisp.

Function: as-json-object-member (k v formatter)
Package

a-cl-logger.

Source

utils.lisp.

Function: class-name-of (o)
Package

a-cl-logger.

Source

utils.lisp.

Function: close-message-block (open message)
Package

a-cl-logger.

Source

helpers.lisp.

Function: copy-messsage (m &rest plist)
Package

a-cl-logger.

Source

log.lisp.

Function: enabled-p (object check-against)
Package

a-cl-logger.

Source

log.lisp.

Function: ensure-level-value (level)
Package

a-cl-logger.

Source

log.lisp.

Function: ensure-message (it)
Package

a-cl-logger.

Source

utils.lisp.

Function: ensure-stream-appender (logger stream &key type)
Package

a-cl-logger.

Source

appenders.lisp.

Function: ensure-type (val type)
Package

a-cl-logger.

Source

log.lisp.

Function: format-time (&key stream time format)
Package

a-cl-logger.

Source

utils.lisp.

Function: get-logger-var-name (name)
Package

a-cl-logger.

Source

log.lisp.

Function: logger-inspector-lookup-hook (form)
Package

a-cl-logger.

Source

appenders.lisp.

Function: logger-level-from-helper (name)
Package

a-cl-logger.

Source

log.lisp.

Function: logger-name-from-helper (name)
Package

a-cl-logger.

Source

log.lisp.

Function: logger-signal-handlers (logger condition)
Package

a-cl-logger.

Source

log.lisp.

Function: maybe-signal-appending-message (logger appender message)
Package

a-cl-logger.

Source

log.lisp.

Function: maybe-signal-generating-message (message)
Package

a-cl-logger.

Source

log.lisp.

Function: maybe-signal-logging-message (logger message)
Package

a-cl-logger.

Source

log.lisp.

Function: maybe-signal-message (c message)
Package

a-cl-logger.

Source

log.lisp.

Function: me-or-ancestor (logger to-match)
Package

a-cl-logger.

Source

utils.lisp.

Function: missing-logger (name)
Package

a-cl-logger.

Source

log.lisp.

Function: only-one? (thing)
Package

a-cl-logger.

Source

utils.lisp.

Function: open-message-block (message)
Package

a-cl-logger.

Source

helpers.lisp.

Function: rem-logger (name)
Package

a-cl-logger.

Source

log.lisp.

Function: replace-symbols-in-forms (plist forms)

Processor for forms using with-macro-splicing

Package

a-cl-logger.

Source

utils.lisp.

Function: split-log-helper (sym)
Package

a-cl-logger.

Source

log.lisp.

Function: without-earmuffs (symbol)
Package

a-cl-logger.

Source

utils.lisp.


5.2.4 Generic functions

Generic Reader: arg-literals (object)
Package

a-cl-logger.

Methods
Reader Method: arg-literals ((message message))

automatically generated reader method

Source

log.lisp.

Target Slot

arg-literals.

Generic Writer: (setf arg-literals) (object)
Package

a-cl-logger.

Methods
Writer Method: (setf arg-literals) ((message message))

automatically generated writer method

Source

log.lisp.

Target Slot

arg-literals.

Generic Reader: buffer-p (object)
Package

a-cl-logger.

Methods
Reader Method: buffer-p ((file-log-appender file-log-appender))

automatically generated reader method

Source

appenders.lisp.

Target Slot

buffer-p.

Generic Writer: (setf buffer-p) (object)
Package

a-cl-logger.

Methods
Writer Method: (setf buffer-p) ((file-log-appender file-log-appender))

automatically generated writer method

Source

appenders.lisp.

Target Slot

buffer-p.

Generic Function: compile-time-enabled-p (message-level logger)
Package

a-cl-logger.

Source

log.lisp.

Methods
Method: compile-time-enabled-p (message-level logger)
Generic Reader: compile-time-level (object)
Generic Writer: (setf compile-time-level) (object)
Package

a-cl-logger.

Methods
Reader Method: compile-time-level ((logger logger))
Writer Method: (setf compile-time-level) ((logger logger))

This loggers’s compile time level. Any log expression below this level will macro-expand to NIL.

Source

log.lisp.

Target Slot

compile-time-level.

Generic Function: do-append (logger appender message)
Package

a-cl-logger.

Source

log.lisp.

Methods
Method: do-append :around (log appender message)
Method: do-append (log appender message)
Generic Reader: form (condition)
Generic Writer: (setf form) (condition)
Package

a-cl-logger.

Methods
Reader Method: form ((condition log-argument-evaluation-error))
Writer Method: (setf form) ((condition log-argument-evaluation-error))
Source

log.lisp.

Target Slot

form.

Generic Function: format-value (v formatter)
Package

a-cl-logger.

Source

appenders.lisp.

Methods
Method: format-value (v formatter)
Method: format-value (v (f json-formatter))
Generic Reader: inner-error (condition)
Generic Writer: (setf inner-error) (condition)
Package

a-cl-logger.

Methods
Reader Method: inner-error ((condition log-argument-evaluation-error))
Writer Method: (setf inner-error) ((condition log-argument-evaluation-error))
Source

log.lisp.

Target Slot

inner-error.

Generic Reader: log-file (object)
Package

a-cl-logger.

Methods
Reader Method: log-file ((file-log-appender file-log-appender))

Name of the file to write log messages to.

Source

appenders.lisp.

Target Slot

log-file.

Generic Function: (setf log-file) (object)
Package

a-cl-logger.

Methods
Writer Method: (setf log-file) :after ((ufla file-log-appender))
Source

appenders.lisp.

Target Slot

log-file.

Method: (setf log-file) ((file-log-appender file-log-appender))

Name of the file to write log messages to.

Source

appenders.lisp.

Generic Function: log.compile-time-level (log)
Package

a-cl-logger.

Source

log.lisp.

Methods
Method: log.compile-time-level (log)
Generic Function: (setf log.compile-time-level) (log &optional recursive)

Change the compile time log level of logger to NEW-LEVEL. If RECUSIVE is T the setting is also applied to the sub loggers.

Package

a-cl-logger.

Source

log.lisp.

Methods
Method: (setf log.compile-time-level) (log &optional recursive)
Generic Reader: signal-messages (object)
Package

a-cl-logger.

Methods
Reader Method: signal-messages ((logger logger))

automatically generated reader method

Source

log.lisp.

Target Slot

signal-messages.

Generic Writer: (setf signal-messages) (object)
Package

a-cl-logger.

Methods
Writer Method: (setf signal-messages) ((logger logger))

automatically generated writer method

Source

log.lisp.

Target Slot

signal-messages.

Generic Reader: timestamp (object)
Package

a-cl-logger.

Methods
Reader Method: timestamp ((message message))

automatically generated reader method

Source

log.lisp.

Target Slot

timestamp.

Generic Writer: (setf timestamp) (object)
Package

a-cl-logger.

Methods
Writer Method: (setf timestamp) ((message message))

automatically generated writer method

Source

log.lisp.

Target Slot

timestamp.


5.2.5 Conditions

Condition: log-argument-evaluation-error
Package

a-cl-logger.

Source

log.lisp.

Direct superclasses

error.

Direct methods
Direct slots
Slot: form
Initform

(quote nil)

Initargs

:form

Readers

form.

Writers

(setf form).

Slot: inner-error
Initform

(quote nil)

Initargs

:inner-error

Readers

inner-error.

Writers

(setf inner-error).

Condition: missing-logger
Package

a-cl-logger.

Source

log.lisp.

Direct superclasses

error.

Direct methods
Direct slots
Slot: name
Initform

(quote nil)

Initargs

:name

Readers

name.

Writers

(setf name).


5.2.6 Classes

Class: json-file-log-appender
Package

a-cl-logger.

Source

appenders.lisp.

Direct superclasses

file-log-appender.

Direct Default Initargs
InitargValue
:date-formatiso
:formatter(quote json-formatter)

Appendix A Indexes


A.1 Concepts


A.2 Functions

Jump to:   %   (  
A   B   C   D   E   F   G   I   J   L   M   N   O   P   R   S   T   W  
Index Entry  Section

%
%filter-plist: Private ordinary functions
%logger-name-for-output: Private ordinary functions
%make-log-helper: Private ordinary functions
%open-log-file: Private ordinary functions
%safe-log-helper-arg: Private ordinary functions

(
(setf appender): Public generic functions
(setf appender): Public generic functions
(setf appenders): Public generic functions
(setf appenders): Public generic functions
(setf arg-literals): Private generic functions
(setf arg-literals): Private generic functions
(setf buffer-p): Private generic functions
(setf buffer-p): Private generic functions
(setf children): Public generic functions
(setf children): Public generic functions
(setf compile-time-level): Private generic functions
(setf compile-time-level): Private generic functions
(setf data-plist): Public generic functions
(setf data-plist): Public generic functions
(setf default-signal-bindings): Public generic functions
(setf default-signal-bindings): Public generic functions
(setf form): Private generic functions
(setf form): Private generic functions
(setf format-args): Public generic functions
(setf format-args): Public generic functions
(setf format-control): Public generic functions
(setf format-control): Public generic functions
(setf formatter): Public generic functions
(setf formatter): Public generic functions
(setf get-logger): Public ordinary functions
(setf inner-error): Private generic functions
(setf inner-error): Private generic functions
(setf json): Public generic functions
(setf json): Public generic functions
(setf level): Public generic functions
(setf level): Public generic functions
(setf level): Public generic functions
(setf level): Public generic functions
(setf log-file): Private generic functions
(setf log-file): Private generic functions
(setf log-file): Private generic functions
(setf log-level): Public generic functions
(setf log-level): Public generic functions
(setf log-level): Public generic functions
(setf log-stream): Public generic functions
(setf log-stream): Public generic functions
(setf log.compile-time-level): Private generic functions
(setf log.compile-time-level): Private generic functions
(setf logger): Public generic functions
(setf logger): Public generic functions
(setf logger): Public generic functions
(setf logger): Public generic functions
(setf message): Public generic functions
(setf message): Public generic functions
(setf message): Public generic functions
(setf message): Public generic functions
(setf name): Public generic functions
(setf name): Public generic functions
(setf name): Public generic functions
(setf name): Public generic functions
(setf parents): Public generic functions
(setf parents): Public generic functions
(setf signal-messages): Private generic functions
(setf signal-messages): Private generic functions
(setf timestamp): Private generic functions
(setf timestamp): Private generic functions

A
add-signal-handler: Public ordinary functions
alist-as-json: Public ordinary functions
append-message: Public generic functions
append-message: Public generic functions
append-message: Public generic functions
appender: Public generic functions
appender: Public generic functions
appenders: Public generic functions
appenders: Public generic functions
arg-literals: Private generic functions
arg-literals: Private generic functions
as-json-array: Private ordinary functions
as-json-object-member: Private ordinary functions

B
buffer-p: Private generic functions
buffer-p: Private generic functions

C
children: Public generic functions
children: Public generic functions
class-name-of: Private ordinary functions
close-all-files: Public ordinary functions
close-message-block: Private ordinary functions
compile-time-enabled-p: Private generic functions
compile-time-enabled-p: Private generic functions
compile-time-level: Private generic functions
compile-time-level: Private generic functions
copy-messsage: Private ordinary functions

D
data-plist: Public generic functions
data-plist: Public generic functions
default-signal-bindings: Public generic functions
default-signal-bindings: Public generic functions
define-log-helpers: Private macros
define-logger: Public macros
define-mutator-macros: Private macros
do-append: Private generic functions
do-append: Private generic functions
do-append: Private generic functions
do-log: Public ordinary functions
do-logging: Public generic functions
do-logging: Public generic functions
do-logging: Public generic functions
do-logging: Public generic functions

E
enabled-p: Private ordinary functions
ensure-debug-io-appender: Public ordinary functions
ensure-file-appender: Public ordinary functions
ensure-level-value: Private ordinary functions
ensure-level-value!: Private macros
ensure-list!: Private macros
ensure-message: Private ordinary functions
ensure-message!: Private macros
ensure-stderr-appender: Public ordinary functions
ensure-stream-appender: Private ordinary functions
ensure-type: Private ordinary functions

F
find-appender: Public ordinary functions
form: Private generic functions
form: Private generic functions
format-args: Public generic functions
format-args: Public generic functions
format-control: Public generic functions
format-control: Public generic functions
format-message: Public generic functions
format-message: Public generic functions
format-message: Public generic functions
format-time: Private ordinary functions
format-value: Private generic functions
format-value: Private generic functions
format-value: Private generic functions
formatter: Public generic functions
formatter: Public generic functions
Function, %filter-plist: Private ordinary functions
Function, %logger-name-for-output: Private ordinary functions
Function, %make-log-helper: Private ordinary functions
Function, %open-log-file: Private ordinary functions
Function, %safe-log-helper-arg: Private ordinary functions
Function, (setf get-logger): Public ordinary functions
Function, add-signal-handler: Public ordinary functions
Function, alist-as-json: Public ordinary functions
Function, as-json-array: Private ordinary functions
Function, as-json-object-member: Private ordinary functions
Function, class-name-of: Private ordinary functions
Function, close-all-files: Public ordinary functions
Function, close-message-block: Private ordinary functions
Function, copy-messsage: Private ordinary functions
Function, do-log: Public ordinary functions
Function, enabled-p: Private ordinary functions
Function, ensure-debug-io-appender: Public ordinary functions
Function, ensure-file-appender: Public ordinary functions
Function, ensure-level-value: Private ordinary functions
Function, ensure-message: Private ordinary functions
Function, ensure-stderr-appender: Public ordinary functions
Function, ensure-stream-appender: Private ordinary functions
Function, ensure-type: Private ordinary functions
Function, find-appender: Public ordinary functions
Function, format-time: Private ordinary functions
Function, get-log-fn: Public ordinary functions
Function, get-logger: Public ordinary functions
Function, get-logger-var-name: Private ordinary functions
Function, log-level-name-of: Public ordinary functions
Function, logger-inspector-lookup-hook: Private ordinary functions
Function, logger-level-from-helper: Private ordinary functions
Function, logger-name-from-helper: Private ordinary functions
Function, logger-signal-handlers: Private ordinary functions
Function, make-log-path: Public ordinary functions
Function, make-message: Public ordinary functions
Function, maybe-signal-appending-message: Private ordinary functions
Function, maybe-signal-generating-message: Private ordinary functions
Function, maybe-signal-logging-message: Private ordinary functions
Function, maybe-signal-message: Private ordinary functions
Function, me-or-ancestor: Private ordinary functions
Function, missing-logger: Private ordinary functions
Function, only-one?: Private ordinary functions
Function, open-message-block: Private ordinary functions
Function, plist-as-json: Public ordinary functions
Function, push-into-message: Public ordinary functions
Function, rem-logger: Private ordinary functions
Function, remove-appender: Public ordinary functions
Function, replace-symbols-in-forms: Private ordinary functions
Function, require-logger: Public ordinary functions
Function, setup-logger: Public ordinary functions
Function, split-log-helper: Private ordinary functions
Function, without-earmuffs: Private ordinary functions

G
Generic Function, (setf appender): Public generic functions
Generic Function, (setf appenders): Public generic functions
Generic Function, (setf arg-literals): Private generic functions
Generic Function, (setf buffer-p): Private generic functions
Generic Function, (setf children): Public generic functions
Generic Function, (setf compile-time-level): Private generic functions
Generic Function, (setf data-plist): Public generic functions
Generic Function, (setf default-signal-bindings): Public generic functions
Generic Function, (setf form): Private generic functions
Generic Function, (setf format-args): Public generic functions
Generic Function, (setf format-control): Public generic functions
Generic Function, (setf formatter): Public generic functions
Generic Function, (setf inner-error): Private generic functions
Generic Function, (setf json): Public generic functions
Generic Function, (setf level): Public generic functions
Generic Function, (setf log-file): Private generic functions
Generic Function, (setf log-level): Public generic functions
Generic Function, (setf log-stream): Public generic functions
Generic Function, (setf log.compile-time-level): Private generic functions
Generic Function, (setf logger): Public generic functions
Generic Function, (setf message): Public generic functions
Generic Function, (setf name): Public generic functions
Generic Function, (setf parents): Public generic functions
Generic Function, (setf signal-messages): Private generic functions
Generic Function, (setf timestamp): Private generic functions
Generic Function, append-message: Public generic functions
Generic Function, appender: Public generic functions
Generic Function, appenders: Public generic functions
Generic Function, arg-literals: Private generic functions
Generic Function, buffer-p: Private generic functions
Generic Function, children: Public generic functions
Generic Function, compile-time-enabled-p: Private generic functions
Generic Function, compile-time-level: Private generic functions
Generic Function, data-plist: Public generic functions
Generic Function, default-signal-bindings: Public generic functions
Generic Function, do-append: Private generic functions
Generic Function, do-logging: Public generic functions
Generic Function, form: Private generic functions
Generic Function, format-args: Public generic functions
Generic Function, format-control: Public generic functions
Generic Function, format-message: Public generic functions
Generic Function, format-value: Private generic functions
Generic Function, formatter: Public generic functions
Generic Function, inner-error: Private generic functions
Generic Function, json: Public generic functions
Generic Function, level: Public generic functions
Generic Function, log-file: Private generic functions
Generic Function, log-level: Public generic functions
Generic Function, log-stream: Public generic functions
Generic Function, log.compile-time-level: Private generic functions
Generic Function, logger: Public generic functions
Generic Function, message: Public generic functions
Generic Function, name: Public generic functions
Generic Function, parents: Public generic functions
Generic Function, signal-messages: Private generic functions
Generic Function, timestamp: Private generic functions
get-log-fn: Public ordinary functions
get-logger: Public ordinary functions
get-logger!: Public macros
get-logger-var-name: Private ordinary functions

I
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods
inner-error: Private generic functions
inner-error: Private generic functions

J
json: Public generic functions
json: Public generic functions

L
level: Public generic functions
level: Public generic functions
level: Public generic functions
level: Public generic functions
log-around: Public macros
log-errors: Public macros
log-file: Private generic functions
log-file: Private generic functions
log-level: Public generic functions
log-level: Public generic functions
log-level: Public generic functions
log-level-name-of: Public ordinary functions
log-serious-conditions: Public macros
log-stream: Public generic functions
log-stream: Public generic functions
log.compile-time-level: Private generic functions
log.compile-time-level: Private generic functions
logger: Public generic functions
logger: Public generic functions
logger: Public generic functions
logger: Public generic functions
logger-inspector-lookup-hook: Private ordinary functions
logger-level-from-helper: Private ordinary functions
logger-name-from-helper: Private ordinary functions
logger-signal-handlers: Private ordinary functions

M
Macro, define-log-helpers: Private macros
Macro, define-logger: Public macros
Macro, define-mutator-macros: Private macros
Macro, ensure-level-value!: Private macros
Macro, ensure-list!: Private macros
Macro, ensure-message!: Private macros
Macro, get-logger!: Public macros
Macro, log-around: Public macros
Macro, log-errors: Public macros
Macro, log-serious-conditions: Public macros
Macro, maybe-with-presentations: Private macros
Macro, push-m-plist: Private macros
Macro, require-logger!: Public macros
Macro, root-logger.debug: Private macros
Macro, root-logger.dribble: Private macros
Macro, root-logger.error: Private macros
Macro, root-logger.fatal: Private macros
Macro, root-logger.info: Private macros
Macro, root-logger.muted: Private macros
Macro, root-logger.warn: Private macros
Macro, when-log-message-*: Private macros
Macro, when-log-message-appended: Public macros
Macro, when-log-message-generated: Public macros
Macro, when-log-message-logged: Private macros
Macro, with-appender: Public macros
Macro, with-auto-unique-names: Private macros
Macro, with-change-message: Private macros
Macro, with-debugging-or-error-printing: Private macros
Macro, with-logged-output: Public macros
Macro, with-logged-output-to-place: Public macros
Macro, with-logger-level: Private macros
Macro, with-logging-io: Private macros
Macro, with-macro-splicing: Private macros
Macro, with-stream-restarts: Private macros
make-log-path: Public ordinary functions
make-message: Public ordinary functions
maybe-signal-appending-message: Private ordinary functions
maybe-signal-generating-message: Private ordinary functions
maybe-signal-logging-message: Private ordinary functions
maybe-signal-message: Private ordinary functions
maybe-with-presentations: Private macros
me-or-ancestor: Private ordinary functions
message: Public generic functions
message: Public generic functions
message: Public generic functions
message: Public generic functions
Method, (setf appender): Public generic functions
Method, (setf appenders): Public generic functions
Method, (setf arg-literals): Private generic functions
Method, (setf buffer-p): Private generic functions
Method, (setf children): Public generic functions
Method, (setf compile-time-level): Private generic functions
Method, (setf data-plist): Public generic functions
Method, (setf default-signal-bindings): Public generic functions
Method, (setf form): Private generic functions
Method, (setf format-args): Public generic functions
Method, (setf format-control): Public generic functions
Method, (setf formatter): Public generic functions
Method, (setf inner-error): Private generic functions
Method, (setf json): Public generic functions
Method, (setf level): Public generic functions
Method, (setf level): Public generic functions
Method, (setf level): Public generic functions
Method, (setf log-file): Private generic functions
Method, (setf log-file): Private generic functions
Method, (setf log-level): Public generic functions
Method, (setf log-level): Public generic functions
Method, (setf log-stream): Public generic functions
Method, (setf log.compile-time-level): Private generic functions
Method, (setf logger): Public generic functions
Method, (setf logger): Public generic functions
Method, (setf logger): Public generic functions
Method, (setf message): Public generic functions
Method, (setf message): Public generic functions
Method, (setf message): Public generic functions
Method, (setf name): Public generic functions
Method, (setf name): Public generic functions
Method, (setf name): Public generic functions
Method, (setf parents): Public generic functions
Method, (setf signal-messages): Private generic functions
Method, (setf timestamp): Private generic functions
Method, append-message: Public generic functions
Method, append-message: Public generic functions
Method, appender: Public generic functions
Method, appenders: Public generic functions
Method, arg-literals: Private generic functions
Method, buffer-p: Private generic functions
Method, children: Public generic functions
Method, compile-time-enabled-p: Private generic functions
Method, compile-time-level: Private generic functions
Method, data-plist: Public generic functions
Method, default-signal-bindings: Public generic functions
Method, do-append: Private generic functions
Method, do-append: Private generic functions
Method, do-logging: Public generic functions
Method, do-logging: Public generic functions
Method, do-logging: Public generic functions
Method, form: Private generic functions
Method, format-args: Public generic functions
Method, format-control: Public generic functions
Method, format-message: Public generic functions
Method, format-message: Public generic functions
Method, format-value: Private generic functions
Method, format-value: Private generic functions
Method, formatter: Public generic functions
Method, initialize-instance: Public standalone methods
Method, initialize-instance: Public standalone methods
Method, initialize-instance: Public standalone methods
Method, inner-error: Private generic functions
Method, json: Public generic functions
Method, level: Public generic functions
Method, level: Public generic functions
Method, level: Public generic functions
Method, log-file: Private generic functions
Method, log-level: Public generic functions
Method, log-level: Public generic functions
Method, log-stream: Public generic functions
Method, log.compile-time-level: Private generic functions
Method, logger: Public generic functions
Method, logger: Public generic functions
Method, logger: Public generic functions
Method, message: Public generic functions
Method, message: Public generic functions
Method, message: Public generic functions
Method, name: Public generic functions
Method, name: Public generic functions
Method, name: Public generic functions
Method, parents: Public generic functions
Method, print-object: Public standalone methods
Method, signal-messages: Private generic functions
Method, timestamp: Private generic functions
missing-logger: Private ordinary functions

N
name: Public generic functions
name: Public generic functions
name: Public generic functions
name: Public generic functions

O
only-one?: Private ordinary functions
open-message-block: Private ordinary functions

P
parents: Public generic functions
parents: Public generic functions
plist-as-json: Public ordinary functions
print-object: Public standalone methods
push-into-message: Public ordinary functions
push-m-plist: Private macros

R
rem-logger: Private ordinary functions
remove-appender: Public ordinary functions
replace-symbols-in-forms: Private ordinary functions
require-logger: Public ordinary functions
require-logger!: Public macros
root-logger.debug: Private macros
root-logger.dribble: Private macros
root-logger.error: Private macros
root-logger.fatal: Private macros
root-logger.info: Private macros
root-logger.muted: Private macros
root-logger.warn: Private macros

S
setup-logger: Public ordinary functions
signal-messages: Private generic functions
signal-messages: Private generic functions
split-log-helper: Private ordinary functions

T
timestamp: Private generic functions
timestamp: Private generic functions

W
when-log-message-*: Private macros
when-log-message-appended: Public macros
when-log-message-generated: Public macros
when-log-message-logged: Private macros
with-appender: Public macros
with-auto-unique-names: Private macros
with-change-message: Private macros
with-debugging-or-error-printing: Private macros
with-logged-output: Public macros
with-logged-output-to-place: Public macros
with-logger-level: Private macros
with-logging-io: Private macros
with-macro-splicing: Private macros
with-stream-restarts: Private macros
without-earmuffs: Private ordinary functions


A.3 Variables

Jump to:   *   +  
A   B   C   D   F   I   J   L   M   N   P   S   T  
Index Entry  Section

*
*appender*: Public special variables
*log-level-names*: Public special variables
*logger*: Private special variables
*logger-vars*: Private special variables
*max-logger-name-length*: Private special variables
*message*: Public special variables
*root-logger*: Public special variables

+
+debug+: Public special variables
+dribble+: Public special variables
+error+: Public special variables
+fatal+: Public special variables
+info+: Public special variables
+muted+: Private special variables
+warn+: Public special variables

A
appender: Public conditions
appenders: Public classes
arg-literals: Public classes

B
buffer-p: Public classes

C
children: Public classes
compile-time-level: Public classes

D
data-plist: Public classes
date-format: Public classes
default-signal-bindings: Public classes

F
form: Private conditions
format-args: Public classes
format-control: Public classes
formatter: Public classes

I
inner-error: Private conditions

J
json: Public classes

L
level: Public classes
level: Public classes
level: Public classes
log-file: Public classes
logger: Public conditions
logger: Public conditions
logger: Public classes

M
message: Public conditions
message: Public conditions
message: Public conditions

N
name: Public classes
name: Public classes
name: Private conditions

P
parents: Public classes

S
signal-messages: Public classes
Slot, appender: Public conditions
Slot, appenders: Public classes
Slot, arg-literals: Public classes
Slot, buffer-p: Public classes
Slot, children: Public classes
Slot, compile-time-level: Public classes
Slot, data-plist: Public classes
Slot, date-format: Public classes
Slot, default-signal-bindings: Public classes
Slot, form: Private conditions
Slot, format-args: Public classes
Slot, format-control: Public classes
Slot, formatter: Public classes
Slot, inner-error: Private conditions
Slot, json: Public classes
Slot, level: Public classes
Slot, level: Public classes
Slot, level: Public classes
Slot, log-file: Public classes
Slot, logger: Public conditions
Slot, logger: Public conditions
Slot, logger: Public classes
Slot, message: Public conditions
Slot, message: Public conditions
Slot, message: Public conditions
Slot, name: Public classes
Slot, name: Public classes
Slot, name: Private conditions
Slot, parents: Public classes
Slot, signal-messages: Public classes
Slot, stream: Public classes
Slot, timestamp: Public classes
Special Variable, *appender*: Public special variables
Special Variable, *log-level-names*: Public special variables
Special Variable, *logger*: Private special variables
Special Variable, *logger-vars*: Private special variables
Special Variable, *max-logger-name-length*: Private special variables
Special Variable, *message*: Public special variables
Special Variable, *root-logger*: Public special variables
Special Variable, +debug+: Public special variables
Special Variable, +dribble+: Public special variables
Special Variable, +error+: Public special variables
Special Variable, +fatal+: Public special variables
Special Variable, +info+: Public special variables
Special Variable, +muted+: Private special variables
Special Variable, +warn+: Public special variables
stream: Public classes

T
timestamp: Public classes


A.4 Data types

Jump to:   A   C   D   F   G   H   J   L   M   P   R   S   U  
Index Entry  Section

A
a-cl-logger: The a-cl-logger system
a-cl-logger: The a-cl-logger package
a-cl-logger.asd: The a-cl-logger/a-cl-logger․asd file
a-cl-logger.system: The a-cl-logger․system package
appender: Public classes
appenders.lisp: The a-cl-logger/appenders․lisp file
appending-message: Public conditions

C
Class, appender: Public classes
Class, debug-io-log-appender: Public classes
Class, file-log-appender: Public classes
Class, formatter: Public classes
Class, json: Public classes
Class, json-file-log-appender: Private classes
Class, json-formatter: Public classes
Class, logger: Public classes
Class, message: Public classes
Class, raw-formatter: Public classes
Class, stderr-log-appender: Public classes
Class, stream-log-appender: Public classes
Class, string-stream-appender: Public classes
Condition, appending-message: Public conditions
Condition, generating-message: Public conditions
Condition, log-argument-evaluation-error: Private conditions
Condition, logging-message: Public conditions
Condition, missing-logger: Private conditions

D
debug-io-log-appender: Public classes

F
File, a-cl-logger.asd: The a-cl-logger/a-cl-logger․asd file
File, appenders.lisp: The a-cl-logger/appenders․lisp file
File, helpers.lisp: The a-cl-logger/helpers․lisp file
File, log.lisp: The a-cl-logger/log․lisp file
File, packages.lisp: The a-cl-logger/packages․lisp file
File, utils.lisp: The a-cl-logger/utils․lisp file
file-log-appender: Public classes
formatter: Public classes

G
generating-message: Public conditions

H
helpers.lisp: The a-cl-logger/helpers․lisp file

J
json: Public classes
json-file-log-appender: Private classes
json-formatter: Public classes

L
log-argument-evaluation-error: Private conditions
log.lisp: The a-cl-logger/log․lisp file
logger: Public classes
logging-message: Public conditions

M
message: Public classes
missing-logger: Private conditions

P
Package, a-cl-logger: The a-cl-logger package
Package, a-cl-logger.system: The a-cl-logger․system package
packages.lisp: The a-cl-logger/packages․lisp file

R
raw-formatter: Public classes

S
stderr-log-appender: Public classes
stream-log-appender: Public classes
string-stream-appender: Public classes
System, a-cl-logger: The a-cl-logger system

U
utils.lisp: The a-cl-logger/utils․lisp file