Skip to content

Add a More Flexible System for Enabling Profiling #1

Description

@chrisguitarguy

But still keep the {enable/disable}Profiling methods on ProfilingConsumer.

I'm thinking something more along the lines of a criteria pattern where the ProfilingConsumer would do something like...

$this->setHandlerOptions([
  self::FLAG => $this->isProfilingEnabled() || $this->profileCriteria->matches($message),
]);

On profile criteria might do the already provided signal handling.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions