Skip to content

feat: add writer output with custom formatter support#1

Merged
dwisiswant0 merged 2 commits into
masterfrom
dwisiswant0/feat/add-writer-output-w-custom-formatter-support
Dec 15, 2025
Merged

feat: add writer output with custom formatter support#1
dwisiswant0 merged 2 commits into
masterfrom
dwisiswant0/feat/add-writer-output-w-custom-formatter-support

Conversation

@dwisiswant0

Copy link
Copy Markdown
Contributor

feat: add writer output with custom formatter support

Add Output and Formatter fields to Options
for logging blacklist detections. When Output is
set, detection events are written using either a
user-provided Formatter function or a default
format.

The Formatter callback receives the full
sslbl.Record and fingerprint, allowing users to
customize output format for their logging needs.

Add `Output` and `Formatter` fields to `Options`
for logging blacklist detections. When `Output` is
set, detection events are written using either a
user-provided `Formatter` function or a default
format.

The `Formatter` callback receives the full
`sslbl.Record` and fingerprint, allowing users to
customize output format for their logging needs.

Signed-off-by: Dwi Siswanto <git@dw1.io>
Signed-off-by: Dwi Siswanto <git@dw1.io>
@dwisiswant0 dwisiswant0 merged commit 2c48fad into master Dec 15, 2025
1 check passed
@dwisiswant0 dwisiswant0 deleted the dwisiswant0/feat/add-writer-output-w-custom-formatter-support branch December 15, 2025 18:25
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.

1 participant