geniv / nette-activity-logger
This package is abandoned and no longer maintained.
No replacement package was suggested.
Activity logger component for Nette Framework
v1.0.5
2019-02-02 00:20 UTC
Requires
- php: >=7.0.0
- geniv/nette-general-form: >=1.0.0
- nette/nette: >=2.4.0
This package is auto-updated.
Last update: 2021-01-13 12:09:51 UTC
README
Installation
$ composer require geniv/nette-activity-logger
or
"geniv/nette-activity-logger": ">=1.0.0"
require:
"php": ">=7.0.0", "nette/nette": ">=2.4.0", "geniv/nette-general-form": ">=1.0.0"
Include in application
Automatic block url segment _fid
.
This segment you can add getBlock()
and setBlock(array $block)
.
neon configure:
services: # - ActivityLogger - ActivityLogger(%wwwDir%/../log/activity-logger.neon)
presenters:
protected function createComponentActivityLogger(ActivityLogger $activityLogger): ActivityLogger { return $activityLogger; }
usage:
{control activityLogger} {* disable render but still logging *} {control activityLogger, false}