mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-26 16:15:49 +03:00
[GH-ISSUE #736] DateTime related changes in 2.0 #277
Labels
No labels
Bug
Documentation
Feature
Needs Work
Support
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/monolog#277
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Seldaek on GitHub (Mar 3, 2016).
Original GitHub issue: https://github.com/Seldaek/monolog/issues/736
Things to consider:
@stof commented on GitHub (Mar 3, 2016):
👍 for that
This looks like a good idea. People caring about the microsecond precision of their log can enable the feature.
The NormalizerFormatter (and so its child LineFormatter too) drops the microseconds by default when formatting the date anyway due to the default date format. So the performance is degraded for nothing.
if the format needs to be configurable, it will be hard to do it using JsonSerializable, as the DateTimeImmutable won't know the configuration of each formatter (and formatters may have different configs)
@Seldaek commented on GitHub (May 20, 2016):
Please check out https://github.com/Seldaek/monolog/pull/793 /cc @holtkamp too