PageRenderTime 41ms queryFilters 1ms Sphinxql 3023ms GetByIds 287ms meta 0ms repositoryFilters 42ms languageFilters 0ms sourceFilters 11ms

140,565 results for 'php log repo:skuda/rsslounge' (41 ms)

Source

Language

Repository

PHP - Log to screen.tmSnippet https://github.com/jbueler/textmate_bundles.git | Unknown | 17 lines
7	<key>name</key>
8	<string>PHP - Log to screen</string>
9	<key>scope</key>
9	<key>scope</key>
10	<string>source.php</string>
11	<key>tabTrigger</key>
Filter.php http://prado3.googlecode.com/svn/trunk/ | PHP | 264 lines
44 * @version    CVS: $Id: Filter.php,v 1.32.2.5 2005/12/17 16:04:58 sebastian Exp $
45 * @link       http://pear.php.net/package/PHPUnit2
46 * @since      File available since Release 2.0.0
99      'PHPUnit2/Util/Log/PEAR.php',
100      'PHPUnit2/Util/Log/XML.php',
101      'PHPUnit2/Util/TestDox/ResultPrinter/HTML.php',
112      'Log/composite.php',
113      'Log/console.php',
114      'Log/display.php',
120      'Log/observer.php',
121      'Log/sql.php',
122      'Log/sqlite.php',
122      'Log/sqlite.php',
123      'Log/syslog.php',
124      'Log/win.php',
php.ini https://bitbucket.org/lokkju/openpli-oe.git | Unknown | 1,204 lines
16;;;;;;;;;;;;;;;;;;;
17; This file controls many aspects of PHP's behavior.  In order for PHP to
18; read it, it must be named 'php.ini'.  PHP looks for it in the current
315
316; Log errors into a log file (server-specific log, stderr, or error_log (below))
317; As stated above, you're strongly advised to use error logging in place of
347; to a page describing the error or function causing the error in detail.
348; You can download a copy of the PHP manual from http://www.php.net/docs.php
349; and change docref_root to the base URL of your local copy including the
362; Log errors to specified file.
363error_log = "/var/log/php"
364
364
365; Log errors to syslog (Event Log on NT, not valid in Windows 95).
366;error_log = syslog
PodioAPI.php https://github.com/fabianmu/shodio.git | PHP | 648 lines
195  /**
196   * Current log handler for the API log
197   */
268   * @param $level The log level. See:
269   *               http://www.indelible.org/php/Log/guide.html#log-levels
270   */
271  public function log($message, $level = PEAR_LOG_INFO) {
272    $logger = &Log::singleton($this->log_handler, $this->log_name, $this->log_ident);
273    $logger->log('[api] ' . $message, $level);
606              $this->log($request->getMethod() .' '. $response->getStatus().' '.$response->getReasonPhrase().' '.$request->getUrl(), PEAR_LOG_WARNING);
607              $this->log($response->getBody(), PEAR_LOG_WARNING);
608            }
617            if ($this->getLogLevel('error')) {
618              $this->log($request->getMethod() .' '. $response->getStatus().' '.$response->getReasonPhrase().' '.$request->getUrl(), PEAR_LOG_WARNING);
619              $this->log($response->getBody(), PEAR_LOG_WARNING);
index.php http://modx-ja.googlecode.com/svn/trunk/ | PHP | 937 lines
71
72// check PHP version. MODX Evolution is compatible with php 4 (4.4.2+)
73$php_ver_comp =  version_compare(phpversion(), "4.4.2");
154
155// accesscontrol.php checks to see if the user is logged in. If not, a log in form is shown
156include_once "accesscontrol.inc.php";
895        include_once "header.inc.php";
896        include_once "actions/eventlog_details.dynamic.php";
897        include_once "footer.inc.php";
900        // get the event log delete processor
901        include_once "processors/delete_eventlog.processor.php";
902    break;
929    include_once "log.class.inc.php";
930    $log = new logHandler;
931    $log->initAndWriteLog();
en.php git://github.com/Elgg/Elgg.git | PHP | 1,955 lines
22	'loginok' => "You have been logged in.",
23	'loginerror' => "We couldn't log you in. Please check your credentials and try again.",
24	'login:empty' => "Username/email and password are required.",
116	'LoginException:BannedUser' => 'You have been banned from this site and cannot log in',
117	'LoginException:UsernameFailure' => 'We could not log you in. Please check your username/email and password.',
118	'LoginException:PasswordFailure' => 'We could not log you in. Please check your username/email and password.',
924	'admin:server:label:php_ini' => 'PHP ini file location',
925	'admin:server:label:php_log' => 'PHP Log',
926	'admin:server:label:mem_avail' => 'Memory available',
1723	'cli:login:error:unknown' => "Unable to login as %s",
1724	'cli:login:success:log' => "Logged in as %s [guid: %s]",
1725	'cli:response:output' => "Response:",
1741	'cli:database:seed:log:error:faker' => "This is a developer tool currently intended for testing purposes only. Please refrain from using it.",
1742	'cli:database:seed:log:error:logged_in' => "Database seeding should not be run with a logged in user",
1743	
Filter.php https://github.com/humansky/qframe.git | PHP | 501 lines
46
47require_once 'PHPUnit/Util/FilterIterator.php';
48
101        'Log/display.php',
102        'Log/error_log.php',
103        'Log/file.php',
108        'Log/observer.php',
109        'Log/sql.php',
110        'Log/sqlite.php',
110        'Log/sqlite.php',
111        'Log/syslog.php',
112        'Log/win.php',
112        'Log/win.php',
113        'Log.php',
114        'PEAR/Installer/Role/Common.php',
logService.php http://openbiz-cubi.googlecode.com/svn/trunk/ | PHP | 439 lines
13 * @link      http://www.phpopenbiz.org/
14 * @version   $Id: logService.php 4042 2011-05-01 06:36:18Z rockys $
15 */
64    /**
65     * Holds the formatter for a log object.  This object dictates how a log file is logged.
66     *
110    /**
111     * The primary log function that will take an incoming message and specified paramter and log in the
112     * appropriate location and format
142        }
143        //echo "log levels: ".LOG_EMERG.", ".LOG_ALERT.", ".LOG_CRIT.", ".LOG_ERR.", ".LOG_WARNING.", ".LOG_NOTICE.", ".LOG_INFO.", ".LOG_DEBUG."<br>";
144
271            //CSV Format
272                $this->_formatter = new Zend_Log_Formatter_Simple("'%date%','%time%','%priorityName%','%package%','%message%','%back_trace%'" . PHP_EOL);
273                break;
file.php http://vanphongphamdm.googlecode.com/svn/trunk/ | PHP | 364 lines
43     */
44    var $_filename = 'php.log';
45
293     * Logs $message to the output window.  The message is also passed along
294     * to any Log_observer instances that are observing this Log.
295     *
297     * @param string $priority The priority of the message.  Valid
298     *                  values are: PEAR_LOG_EMERG, PEAR_LOG_ALERT,
299     *                  PEAR_LOG_CRIT, PEAR_LOG_ERR, PEAR_LOG_WARNING,
299     *                  PEAR_LOG_CRIT, PEAR_LOG_ERR, PEAR_LOG_WARNING,
300     *                  PEAR_LOG_NOTICE, PEAR_LOG_INFO, and PEAR_LOG_DEBUG.
301     * @return boolean  True on success or false on failure.
348
349        /* Write the log line to the log file. */
350        $success = (fwrite($this->_fp, $line) !== false);
index.php https://github.com/macarthy/tinymce.git | PHP | 941 lines
74if($php_ver_comp < 0) {
75    echo "Wrong php version! You're using PHP version '".phpversion()."', and MODx only works on 4.1.0 or higher."; // $_lang['php_version_check'];
76    exit;
152
153// accesscontrol.php checks to see if the user is logged in. If not, a log in form is shown
154include_once "accesscontrol.inc.php";
900        include_once "header.inc.php";
901        include_once "actions/eventlog_details.dynamic.php";
902        include_once "footer.inc.php";
905        // get the event log delete processor
906        include_once "processors/delete_eventlog.processor.php";
907    break;
933if($action!=1 && $action!=7 && $action!=2) {
934    include_once "log.class.inc.php";
935    $log = new logHandler;
index.php https://github.com/chucktrukk/evolution.git | PHP | 956 lines
75if($php_ver_comp < 0) {
76    echo "Wrong php version! You're using PHP version '".phpversion()."', and MODx only works on 4.1.0 or higher."; // $_lang['php_version_check'];
77    exit;
173
174// accesscontrol.php checks to see if the user is logged in. If not, a log in form is shown
175include_once "accesscontrol.inc.php";
914        include_once "header.inc.php";
915        include_once "actions/eventlog_details.dynamic.php";
916        include_once "footer.inc.php";
919        // get the event log delete processor
920        include_once "processors/delete_eventlog.processor.php";
921    break;
947if($action!=1 && $action!=7 && $action!=2) {
948    include_once "log.class.inc.php";
949    $log = new logHandler;
Exceptions.class.php http://mortar.googlecode.com/svn/trunk/ | PHP | 409 lines
91	 * errorLevel argument. Various error configuration values are extracted from the php runtime, such as the error
92	 * reporting and logging values, and if it's appropriate the exception is displayed or sent to the php logger.
93	 *
115		$log_error = ini_get('log_errors');
116		$log_error = (strtolower($log_error) == 'on' || $log_error == true);
117
154	/**
155	 * Logs the passed string using the php error logging functions. Anything passed here will end up in the PHP log,
156	 * whether that log is run by file, syslog, or anything else.
162	{
163		$logString = str_replace(PHP_EOL, ' ', $logString);
164		$program = defined('PROGRAM') ? '*' . PROGRAM . '*  ' : '';
377 * This class corresponds to the E_USER_DEPRECATED error level in php, meaning that when E_USER_DEPRECATED is enabled by
378 * php (whether by the php.ini file or a runtime configuration change) then it will check to see if error logging or
379 * displaying are also activated, and if so will take the appropriate action.
bench.php http://phc.googlecode.com/svn/trunk/ | PHP | 433 lines
19 * Example of usage:
20 * bench.php --log log.txt -d -m 256
21 *
136        }
137        $this->php = $args->getValue('php');
138        if ($this->php == "") {
138        if ($this->php == "") {
139            $this->php = "php";
140        }
140        }
141        $this->log_file = $args->getValue('log');
142        if ($this->log_file == "") {
307     * Executes a program in proper way. The function is borrowed 
308     * the php compiler project, http://www.phpcompiler.org.
309     *
history_api.php git://github.com/mantisbt/mantisbt.git | PHP | 1,002 lines
1<?php
2# MantisBT - A PHP based bugtracking system
25 *
26 * @uses access_api.php
27 * @uses authentication_api.php
27 * @uses authentication_api.php
28 * @uses bug_api.php
29 * @uses bug_revision_api.php
29 * @uses bug_revision_api.php
30 * @uses bugnote_api.php
31 * @uses columns_api.php
31 * @uses columns_api.php
32 * @uses config_api.php
33 * @uses constant_inc.php
33 * @uses constant_inc.php
34 * @uses custom_field_api.php
35 * @uses database_api.php
async.php git://github.com/jrburke/requirejs.git | PHP | 95 lines
34    var urls = [
35        "one.php",
36        "two.js"
56    <h1>Async Attribute Test</h1>
57    <p><b>This test requires PHP to be enabled to run.</b></p>
58
58
59    <p>This test tests async attribute. It attaches two scripts to the DOM, <b>one.php</b> and <b>two.js</b>.
60    The URLs to the scripts always has a timestamp querystring to make sure the scripts are fetched
62    
63    <p>one.php uses a PHP sleep of 3 seconds before returning its result (a log message), where two.js will return
64    immediately with a log message.</p>
66    <p>If the async attribute is being effective (In Gecko 1.9.2+/Firefox 3.6+ browsers, maybe
67    Opera in the future), then the log message for two.js should appear before the one.php log message.
68    If async is <b>not</b> effective, then one.php's log message will appear first.</p>
index.php http://sfbrowser.googlecode.com/svn/trunk/ | PHP | 512 lines
20
21		<?php include("sfbrowser/connectors/php/init.php"); ?>
22		<script type="text/javascript">
114				<li>adjust 'sfbrowser/connectors/php/config.php' to your needs</li>
115				<li>include the 'sfbrowser/connectors/php/init.php' in the head of the html</li>
116				<li>if not on localhost set the correct chmod of the upload folder and it's contents</li>
140			<h3>debug</h3>
141			<p>Setting the <span class="property">SFB_DEBUG</span> value will do three things. Setting the value to true will cause inclusion of the uncompressed scripts rather than the minified ones. It will enable tracing in the console window. It will log all server side actions into 'sfbrowser/connectors/php/log.txt'.</p>
142
213			If <span class="property">allow</span> is left empty (which is the default) all file types are allowed except those listed in <span class="property">deny</span>.<br/>
214			Denying is stronger than allowing so an extension in both arrays will always be denied. The <span class="property">SFB_DENY</span> constant in 'sfbrowser/connectors/php/config.php' always has priority over the <span class="property">deny</span> property parsed through javascript.</p>
215
306			<p>A plugin can be one Javascript file (filetree plugin) but it can also make use of PHP (imageresize plugin).<br/>
307			If a plugin contains either or both a config.php and/or and init.php file the initialisation will include them. It is then assumed that all javascript and/or css inclusion will be handled by that init.php file.<br/>
308			If no init.php file is found, the SFBrowser initialisation will then try to find and add both the plugin.js and/or the plugin.css.<br/>
index.php http://sfbrowser.googlecode.com/svn/trunk/ | PHP | 462 lines
11		<script type="text/javascript" src="scripts/jquery-1.7b2.js"></script>
12		<?php include("connectors/php/init.php"); ?>
13		<script type="text/javascript">
82			<ul>
83				<li>adjust 'sfbrowser/connectors/php/config.php' to your needs</li>
84				<li>include the 'sfbrowser/connectors/php/init.php' in the head of the html</li>
109			<h3>debug</h3>
110			<p>Setting the <span class="property">SFB_DEBUG</span> value will do three things. Setting the value to true will cause inclusion of the uncompressed scripts rather than the minified ones. It will enable tracing in the console window. It will log all server side actions into 'sfbrowser/connectors/php/log.txt'.
111
177			If <span class="property">allow</span> is left empty (which is the default) all file types are allowed except those listed in <span class="property">deny</span>.<br/>
178			Denying is stronger than allowing so an extension in both arrays will always be denied. The <span class="property">SFB_DENY</span> constant in 'sfbrowser/connectors/php/config.php' always has priority over the <span class="property">deny</span> property parsed through javascript.</p>
179
256			<p>A plugin can be one Javascript file (filetree plugin) but it can also make use of PHP (imageresize plugin).<br/>
257			If a plugin contains either or both a config.php and/or and init.php file the initialisation will include them. It is then assumed that all javascript and/or css inclusion will be handled by that init.php file.<br/>
258			If no init.php file is found, the SFBrowser initialisation will then try to find and add both the plugin.js and/or the plugin.css.<br/>
log.reg https://bitbucket.org/adarshj/convenient_website.git | Unknown | 109 lines
1a:14:{s:8:"provides";a:0:{}s:8:"filelist";a:44:{s:14:"docs/guide.txt";a:3:{s:4:"role";s:3:"doc";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:41:"/opt/lampp/lib/php/doc/Log/docs/guide.txt";}s:27:"docs/examples/composite.php";a:3:{s:4:"role";s:3:"doc";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:54:"/opt/lampp/lib/php/doc/Log/docs/examples/composite.php";}s:25:"docs/examples/console.php";a:3:{s:4:"role";s:3:"doc";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:52:"/opt/lampp/lib/php/doc/Log/docs/examples/console.php";}s:25:"docs/examples/display.php";a:3:{s:4:"role";s:3:"doc";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:52:"/opt/lampp/lib/php/doc/Log/docs/examples/display.php";}s:27:"docs/examples/error_log.php";a:3:{s:4:"role";s:3:"doc";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:54:"/opt/lampp/lib/php/doc/Log/docs/examples/error_log.php";}s:22:"docs/examples/file.php";a:3:{s:4:"role";s:3:"doc";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:49:"/opt/lampp/lib/php/doc/Log/docs/examples/file.php";}s:22:"docs/examples/mail.php";a:3:{s:4:"role";s:3:"doc";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:49:"/opt/lampp/lib/php/doc/Log/docs/examples/mail.php";}s:22:"docs/examples/null.php";a:3:{s:4:"role";s:3:"doc";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:49:"/opt/lampp/lib/php/doc/Log/docs/examples/null.php";}s:31:"docs/examples/observer_mail.php";a:3:{s:4:"role";s:3:"doc";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:58:"/opt/lampp/lib/php/doc/Log/docs/examples/observer_mail.php";}s:36:"docs/examples/pear_error_handler.php";a:3:{s:4:"role";s:3:"doc";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:63:"/opt/lampp/lib/php/doc/Log/docs/examples/pear_error_handler.php";}s:35:"docs/examples/php_error_handler.php";a:3:{s:4:"role";s:3:"doc";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:62:"/opt/lampp/lib/php/doc/Log/docs/examples/php_error_handler.php";}s:21:"docs/examples/sql.php";a:3:{s:4:"role";s:3:"doc";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:48:"/opt/lampp/lib/php/doc/Log/docs/examples/sql.php";}s:24:"docs/examples/sqlite.php";a:3:{s:4:"role";s:3:"doc";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:51:"/opt/lampp/lib/php/doc/Log/docs/examples/sqlite.php";}s:24:"docs/examples/syslog.php";a:3:{s:4:"role";s:3:"doc";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:51:"/opt/lampp/lib/php/doc/Log/docs/examples/syslog.php";}s:21:"docs/examples/win.php";a:3:{s:4:"role";s:3:"doc";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:48:"/opt/lampp/lib/php/doc/Log/docs/examples/win.php";}s:17:"Log/composite.php";a:3:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:36:"/opt/lampp/lib/php/Log/composite.php";}s:15:"Log/console.php";a:3:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:34:"/opt/lampp/lib/php/Log/console.php";}s:14:"Log/daemon.php";a:3:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:33:"/opt/lampp/lib/php/Log/daemon.php";}s:15:"Log/display.php";a:3:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:34:"/opt/lampp/lib/php/Log/display.php";}s:17:"Log/error_log.php";a:3:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:36:"/opt/lampp/lib/php/Log/error_log.php";}s:12:"Log/file.php";a:3:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:31:"/opt/lampp/lib/php/Log/file.php";}s:12:"Log/mail.php";a:3:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:31:"/opt/lampp/lib/php/Log/mail.php";}s:12:"Log/mcal.php";a:3:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:31:"/opt/lampp/lib/php/Log/mcal.php";}s:12:"Log/null.php";a:3:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:31:"/opt/lampp/lib/php/Log/null.php";}s:16:"Log/observer.php";a:3:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:35:"/opt/lampp/lib/php/Log/observer.php";}s:11:"Log/sql.php";a:3:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:30:"/opt/lampp/lib/php/Log/sql.php";}s:14:"Log/sqlite.php";a:3:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:33:"/opt/lampp/lib/php/Log/sqlite.php";}s:14:"Log/syslog.php";a:3:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:33:"/opt/lampp/lib/php/Log/syslog.php";}s:11:"Log/win.php";a:3:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:30:"/opt/lampp/lib/php/Log/win.php";}s:12:"misc/log.sql";a:3:{s:4:"role";s:4:"data";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:40:"/opt/lampp/lib/php/data/Log/misc/log.sql";}s:20:"tests/composite.phpt";a:3:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:48:"/opt/lampp/lib/php/test/Log/tests/composite.phpt";}s:18:"tests/console.phpt";a:3:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:46:"/opt/lampp/lib/php/test/Log/tests/console.phpt";}s:18:"tests/display.phpt";a:3:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:46:"/opt/lampp/lib/php/test/Log/tests/display.phpt";}s:20:"tests/error_log.phpt";a:3:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:48:"/opt/lampp/lib/php/test/Log/tests/error_log.phpt";}s:18:"tests/extract.phpt";a:3:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:46:"/opt/lampp/lib/php/test/Log/tests/extract.phpt";}s:19:"tests/extract2.phpt";a:3:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:47:"/opt/lampp/lib/php/test/Log/tests/extract2.phpt";}s:18:"tests/factory.phpt";a:3:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:46:"/opt/lampp/lib/php/test/Log/tests/factory.phpt";}s:15:"tests/null.phpt";a:3:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:43:"/opt/lampp/lib/php/test/Log/tests/null.phpt";}s:19:"tests/priority.phpt";a:3:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:47:"/opt/lampp/lib/php/test/Log/tests/priority.phpt";}s:20:"tests/singleton.phpt";a:3:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:48:"/opt/lampp/lib/php/test/Log/tests/singleton.phpt";}s:17:"tests/sqlite.phpt";a:3:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:45:"/opt/lampp/lib/php/test/Log/tests/sqlite.phpt";}s:20:"tests/sql_ident.phpt";a:3:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:48:"/opt/lampp/lib/php/test/Log/tests/sql_ident.phpt";}s:7:"Log.php";a:3:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:1:"/";s:12:"installed_as";s:26:"/opt/lampp/lib/php/Log.php";}s:7:"dirtree";a:6:{s:31:"/opt/lampp/lib/php/doc/Log/docs";b:1;s:40:"/opt/lampp/lib/php/doc/Log/docs/examples";b:1;s:22:"/opt/lampp/lib/php/Log";b:1;s:32:"/opt/lampp/lib/php/data/Log/misc";b:1;s:33:"/opt/lampp/lib/php/test/Log/tests";b:1;s:18:"/opt/lampp/lib/php";b:1;}}s:7:"package";s:3:"Log";s:7:"summary";s:17:"Logging utilities";s:11:"description";s:189:"The Log framework provides an abstracted logging system.  It supports logging to console, file, syslog, SQL, Sqlite, mail and mcal targets.  It also provides a subject - observer mechanism.";s:11:"maintainers";a:1:{i:0;a:4:{s:6:"handle";s:3:"jon";s:4:"name";s:10:"Jon Parise";s:5:"email";s:11:"jon@php.net";s:4:"role";s:4:"lead";}}s:7:"version";s:5:"1.8.7";s:12:"release_date";s:10:"2004-12-20";s:15:"release_license";s:11:"PHP License";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:183:"The Log package now supports logging arrays with a 'message' key.
2The 'display' handler now preserves line breaks in its output.
2The 'display' handler now preserves line breaks in its output.
3An experimental new handler ('daemon') has been added.";s:12:"release_deps";a:3:{i:1;a:4:{s:4:"type";s:3:"pkg";s:3:"rel";s:3:"has";s:8:"optional";s:3:"yes";s:4:"name";s:2:"DB";}i:2;a:4:{s:4:"type";s:3:"ext";s:3:"rel";s:3:"has";s:8:"optional";s:3:"yes";s:4:"name";s:6:"sqlite";}i:3;a:4:{s:4:"type";s:3:"php";s:3:"rel";s:2:"ge";s:7:"version";s:5:"4.3.0";s:8:"optional";s:2:"no";}}s:9:"changelog";a:25:{i:0;a:5:{s:7:"version";s:5:"1.8.7";s:12:"release_date";s:10:"2004-12-20";s:15:"release_license";s:11:"PHP License";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:324:"The Log::_extractMessage() routine will now extract and use the value of an array's 'message' key if it exists. (Laurent Laville)
4The 'display' handler now preserves line breaks in its output. (Bug 2606)
4The 'display' handler now preserves line breaks in its output. (Bug 2606)
5An experimental new syslog daemon log handler ('daemon') has been added to the Log distribution. (Bart van der Schans)
6
28
29";}i:5;a:5:{s:7:"version";s:5:"1.8.2";s:12:"release_date";s:10:"2004-01-01";s:15:"release_license";s:11:"PHP License";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:432:"A new 'null' log handler that simply consumes log events has been added.  The 'null' handler will still respect log masks and attached observers.
30
54
55Two new log handers have been added: the 'error_log' handler wraps PHP's native error_log() function; and the 'win' handler outputs log messages to a separate browser window.
56
95";}i:20;a:4:{s:7:"version";s:3:"1.5";s:12:"release_date";s:10:"2002-10-24";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:199:"- Adding the ability to set the mode of the logfile in the Log_file.
96- mail() failures in Log_mail are logged via error_log().
97- Replaced all remaining LOG_* constants with the PEAR_LOG_* versions.
file.php http://akelosframework.googlecode.com/svn/trunk/ | PHP | 325 lines
2/**
3 * $Header: /repository/pear/Log/Log/file.php,v 1.44 2005/09/19 04:24:14 jon Exp $
4 *
9/**
10 * The Log_file class is a concrete implementation of the Log abstract
11 * class that logs messages to a text file.
269     * Logs $message to the output window.  The message is also passed along
270     * to any Log_observer instances that are observing this Log.
271     *
274     *                  values are: PEAR_LOG_EMERG, PEAR_LOG_ALERT,
275     *                  PEAR_LOG_CRIT, PEAR_LOG_ERR, PEAR_LOG_WARNING,
276     *                  PEAR_LOG_NOTICE, PEAR_LOG_INFO, and PEAR_LOG_DEBUG.
309
310        /* Write the log line to the log file. */
311        $success = (fwrite($this->_fp, $line) !== false);
autoloader.class.php https://bitbucket.org/chamilo/chamilo/ | PHP | 1,059 lines
116         'Filesystem' => '/filesystem/filesystem.class.php',
117         'FileLogger' => '/filesystem/file_logger.class.php',
118         'Path' => '/filesystem/path.class.php',
278         'Chamilo' => '/ims/chamilo/chamilo.class.php',
279         'Log' => '/ims/chamilo/log.class.php',
280         'OnlineLog' => '/ims/chamilo/log.class.php',
280         'OnlineLog' => '/ims/chamilo/log.class.php',
281         'EmptyLog' => '/ims/chamilo/log.class.php',
282         'ObjectCache' => '/ims/chamilo/object_cache.class.php',
349         'DefaultMail' => '/mail/default/default_mail.class.php',
350         'PhpmailerMail' => '/mail/phpmailer/phpmailer_mail.class.php',
351         'MimeUtil' => '/mime/mime_util.class.php',
862//            'footer' => 'footer.class.php', 'text' => 'text.class.php',
863//            'message_logger' => 'message_logger.class.php', 'theme' => 'layout/theme.class.php',
864//            'theme_manager' => 'layout/theme_manager.class.php',
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21