Skip to content

Improve composability of log-filtering functions#49

Merged
karalekas merged 3 commits into
mainfrom
log-composability
Jun 24, 2025
Merged

Improve composability of log-filtering functions#49
karalekas merged 3 commits into
mainfrom
log-composability

Conversation

@karalekas

@karalekas karalekas commented Jun 23, 2025

Copy link
Copy Markdown
Member

By not double-reversing in every filtering function, and expecting a list of logger entries rather than a logger struct.

Comment thread src/debug/logger.lisp
(defun message-report (message-log-entries)
"Given a `MESSAGE-LOG', which is a LIST of log entries filtered such that they only contain message-related logs, build an ALIST of the different types of sent messages it contains, and a count for each."
(let (message-counts)
(initialize-and-return (message-counts)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did we just return nil previously??? oops

@karalekas
karalekas merged commit 5385a42 into main Jun 24, 2025
1 check passed
@karalekas
karalekas deleted the log-composability branch June 24, 2025 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants