PHP Classes

File: app/configs/components/logger.php

Recommend this page to a friend!
  Classes of Oleg Lunegov   MicroPHP Framework   app/configs/components/logger.php   Download  
File: app/configs/components/logger.php
Role: Configuration script
Content type: text/plain
Description: Configuration script
Class: MicroPHP Framework
MVC framework for Web or command line applications
Author: By
Last change: Update of app/configs/components/logger.php
Date: 9 months ago
Size: 378 bytes
 

Contents

Class file image Download
<?php

// Logging
return [
   
'class' => '\Micro\Logger\Logger',
   
'arguments' => [
       
'container' => '@this',
       
'loggers' => [
           
'file' => [
               
'class' => '\Micro\Logger\DbLog',
               
'levels' => 'notice, error, emergency, critical, alert, warning, info, debug',
               
'table' => 'logs'
           
]
        ]
    ]
];