Skip to content

Make log format more customizable #99

@vjik

Description

@vjik
  1. Allow to set own callable for convert value to string (https://github.com/yiisoft/log/blob/master/src/Message/Formatter.php#L257)
  2. Add template (and allow user to change it) for context (https://github.com/yiisoft/log/blob/e0551896a54a91dd3c15d415167d0402c7bf9aaf/src/Message/Formatter.php#L196C22-L196C32). It should be possible to change the order of output trace, common context, message context.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions