Skip to content

How is max_items reset since RollbarLogger is set as singleton #139

Open
@ls-paulo

Description

@ls-paulo

According to the docs, max_items is "Maximum number of items sent in a single app request/response cycle".

The RollbarServiceProvider defines RollbarLogger as a singleton, in which the same instance will be returned on subsequent calls into the container.

Given the above, wouldn't be more appropriate to use scoped instead? As it would do exactly what the Rollbar docs state for max_items config?

Metadata

Metadata

Assignees

Labels

Type: QuestionRequest for information about a components operation.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions