lemonmind/pimcore-object-update-logger

2.0.0 2023-05-17 12:04 UTC

This package is auto-updated.

Last update: 2024-09-17 14:59:07 UTC


README

这是一个Pimcore Bundle,用于记录您对象的变化并查看谁负责这些变化。它还可以监视您的类定义变化。

安装

composer require lemonmind/pimcore-object-update-logger
// config/bundles.php

LemonmindObjectUpdateLoggerBundle::class => ['all' => true]

您可以指定您想记录哪些对象/类

lemonmind_object_update_logger:
    classes_to_log: TestClass1, TestClass2 # if removed all classes will be logged
    objects_to_log: TestClass1, TestClass2 # if removed all objects will be logged
#    disable_class_log: true               # if you want to disable class logging
#    disable_object_log: true              # if you want to disable object logging

日志将保存在var/log/updateLogger.log中