logman
On this page:
8.18
top
← prev up next →

logman🔗 i

Lucas Sta Maria <lucas@priime.dev>

(require logman ) package: logman

logman is a package with small formatting additions to base logging. In particular, it specifies the message’s level and the time it was output. Note that it uses date-display-format for its time formatting, which is recommended to be set to 'iso-8601.

procedure

( log-debug message)void?

message:any/c

procedure

( log-info message)void?

message:any/c

procedure

( log-warning message)void?

message:any/c

procedure

( log-error message)void?

message:any/c

procedure

( log-fatal message)void?

message:any/c

Example:
(with-logging-to-port(current-output-port )
(lambda ()
(log-debug "debug information")
(log-info "regular information")
(log-warning "warnings")
(log-error "errors")
(log-fatal "fatal errors"))
'debug))

[DEBUG] 2025年08月18日T03:23:14 - debug information

[INFO ] 2025年08月18日T03:23:14 - regular information

[WARN ] 2025年08月18日T03:23:14 - warnings

[ERROR] 2025年08月18日T03:23:14 - errors

[FATAL] 2025年08月18日T03:23:14 - fatal errors

top
← prev up next →

AltStyle によって変換されたページ (->オリジナル) /