コード例 #1
0
ファイル: config.php プロジェクト: asalce/wp-ci
| If you have enabled error logging, you can set an error threshold to 
| determine what gets logged. Threshold options are:
| You can enable error logging by setting a threshold over zero. The
| threshold determines what gets logged. Threshold options are:
|
|	0 = Disables logging, Error logging TURNED OFF
|	1 = Error Messages (including PHP errors)
|	2 = Debug Messages
|	3 = Informational Messages
|	4 = All Messages
|
| For a live site you'll usually only enable Errors (1) to be logged otherwise
| your log files will fill up very fast.
|
*/
$config['log_threshold'] = wpci_get_logging_threshold();
/*
|--------------------------------------------------------------------------
| Error Logging Directory Path
|--------------------------------------------------------------------------
|
| Leave this BLANK unless you would like to set something other than the default
| system/logs/ folder.  Use a full server path with trailing slash.
|
*/
$config['log_path'] = '';
/*
|--------------------------------------------------------------------------
| Date Format for Logs
|--------------------------------------------------------------------------
|
コード例 #2
0
ファイル: index.php プロジェクト: asalce/wp-ci
			</div>
			<div id="debugging">
				<table class="form-table">
					<tr>
						<th class="row">Application Debugging</th>
						<td>
							<?php 
echo form_dropdown('application_debugging_enabled', array('' => 'Disabled&nbsp;&nbsp;', 1 => 'Enabled'), wpci_get_application_debugging_enabled());
?>
						</td>
					</tr>
					<tr>
						<th class="row">Logging Threshold</th>
						<td>
							<?php 
echo form_dropdown('logging_threshold', array('' => 'Debug when WP_DEBUG is TRUE', 0 => 'Logging disabled', 1 => 'Error Messages (including PHP errors)', 2 => 'Debug Messages', 3 => 'Informational Messages', 4 => 'All Messages'), wpci_get_logging_threshold());
?>
						</td>
					</tr>
					<tr>
						<th class="row">Database Debugging</th>
						<td>
							<?php 
echo form_dropdown('database_debugging_enabled', array('' => 'Disabled&nbsp;&nbsp;', 1 => 'Enabled'), wpci_get_database_debugging_enabled());
?>
						</td>
					</tr>
				</table>
			</div>
		</div>