Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 812 Bytes

UPGRADE-2.0.md

File metadata and controls

42 lines (33 loc) · 812 Bytes

UPGRADE FROM 1.x to 2.0

Table of Contents

Configuration

The configuration has changed.

You can now now declare your own user_class and list methods you want to add in logs.

Before :

    deamon_logger_extra:
        ...
        config:
            ...
            display:
                user: true
                user_id: true
                user_email: true
                user_name: true

After :

    deamon_logger_extra:
        ...
        config:
            ...
            user_class: '\Acme\AppBundle\Security\User\AcmeUser'
            user_methods:
                user_name: getUsername
                user_email: getEmail
                user_id: getId
            display:
                user: true