Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expose logread function #3939

Merged
merged 1 commit into from
Jul 3, 2023
Merged

expose logread function #3939

merged 1 commit into from
Jul 3, 2023

Conversation

deitch
Copy link
Collaborator

@deitch deitch commented Jun 28, 2023

when we switched about a year ago from memlogd's socket having a few fields separated by ; to a json struct, it opened up possibilities, but broke some users downstream. Now they have to do all of the json parsing, etc., that we already do in logread.

This takes logread's work, puts it in a func, and exposes it, letting others consume it.

It also fixes some linting issues in memlogd.

Signed-off-by: Avi Deitcher <avi@deitcher.net>
@deitch deitch merged commit 03c97c3 into linuxkit:master Jul 3, 2023
22 checks passed
@deitch deitch deleted the logread-as-lib branch July 3, 2023 08:41
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.

None yet

1 participant