Skip to content

feat: wrap tail log responses in typed TailLog value object#36

Open
guillaumedelre wants to merge 1 commit intosupervisorphp:mainfrom
guillaumedelre:feature/issue-1
Open

feat: wrap tail log responses in typed TailLog value object#36
guillaumedelre wants to merge 1 commit intosupervisorphp:mainfrom
guillaumedelre:feature/issue-1

Conversation

@guillaumedelre
Copy link
Copy Markdown

Ref: #1

tailProcessStdoutLog() and tailProcessStderrLog() previously returned a raw array [bytes, offset, overflow] via __call(), making the result unusable without knowing the Supervisor API internals. Replace the @method docblocks with proper interface methods returning TailLogInterface, and introduce TailLog/TailLogInterface following the ReloadResult pattern.

tailProcessStdoutLog() and tailProcessStderrLog() previously returned a
raw array [bytes, offset, overflow] via __call(), making the result
unusable without knowing the Supervisor API internals. Replace the
@method docblocks with proper interface methods returning TailLogInterface,
and introduce TailLog/TailLogInterface following the ReloadResult pattern.

Signed-off-by: Guillaume Delré <delre.guillaume@gmail.com>
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