itsgoingd / itsgoingd/clockwork

Feature/help request: Log groups

Open
#616 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
6k
Forks
333
Avg merge
5m
Merged PRs (30d)
1

Description

Is there a way to group logs?

I mean like the JS console.group()

maybe it already exists and I am missing?

I found event(), but this is only for timing

Maybe it could be enough to add a parallel event graphical representation, as a lateral line/indent in Log view, without changing the function interfaces, so, with event() ->begin() and end(), one could both track times and track enter/exit from code area/functions in text logs

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the existing event() API and the Log view representation. Determine whether begin/end grouping can be supported without changing function interfaces, and define how nested entry and exit levels should appear in text logs and the graphical view. Done should include an agreed behavior and corresponding implementation coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.