Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Heqiauto/json-log

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

9 Commits

Repository files navigation

JSON Log

Latest Stable Version Total Downloads Latest Unstable Version License Yii2

JSON file log for Yii2.

Requirements

  • PHP 5.5 or later.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Yii2 project:

     cd /path/to/project
    
  2. Then tell Composer to load the library:

     composer require heqiauto/json-log
    
  3. Config your application components:

[
 'components' => [
 'log' => [
 'targets' => [
 [
 'class' => \heqiauto\jsonlog\FileTarget::class,
 'levels' => ['error', 'warning', 'info'], // Without TRACE and PROFILE on production environment
 ],
 ],
 ],
 ],
]

License

The JSON Log is open-sourced software licensed under the MIT license.

About

JSON file log for Yii2

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /