For license information check the LICENSE-file.
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist grenhaz/yii2-userlog
or add
"grenhaz/yii2-userlog": "~1.0.0"
to the require
section of your composer.json.
'log' => [
'targets' => [
[
'class' => 'grenhaz/userlog/UserLogger',
'name' => 'user_basic',
],
],
],
Log file location:
runtime/logs/{user_id}/{name}.log