summaryrefslogtreecommitdiff
path: root/system/config/log.php
blob: 5be2c41e61dbe8daf9c92ea244d23bc15c8cf56a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php defined('SYSPATH') OR die('No direct access allowed.');


// Different log levels
$config['log_levels'] = array
(
	'error' => 1,
	'alert' => 2,
	'info'  => 3,
	'debug' => 4,
);

// See different log levels above
$config['log_threshold'] = 1;

$config['date_format'] = 'Y-m-d H:i:s P';

// We can define multiple logging backends at the same time.
$config['drivers'] = array('file');