| | All rights reserved. | +------------------------------------------------------------------------------+ | PLEASE READ THE FULL TEXT OF SOFTWARE LICENSE AGREEMENT IN THE "COPYRIGHT" | | FILE PROVIDED WITH THIS DISTRIBUTION. THE AGREEMENT TEXT IS ALSO AVAILABLE | | AT THE FOLLOWING URLs: | | | | FOR LITECOMMERCE | | http://www.litecommerce.com/software_license_agreement.html | | | | FOR LITECOMMERCE ASP EDITION | | http://www.litecommerce.com/software_license_agreement_asp.html | | | | THIS AGREEMENT EXPRESSES THE TERMS AND CONDITIONS ON WHICH YOU MAY USE THIS | | SOFTWARE PROGRAM AND ASSOCIATED DOCUMENTATION THAT CREATIVE DEVELOPMENT, LLC | | REGISTERED IN ULYANOVSK, RUSSIAN FEDERATION (hereinafter referred to as "THE | | AUTHOR") IS FURNISHING OR MAKING AVAILABLE TO YOU WITH THIS AGREEMENT | | (COLLECTIVELY, THE "SOFTWARE"). PLEASE REVIEW THE TERMS AND CONDITIONS OF | | THIS LICENSE AGREEMENT CAREFULLY BEFORE INSTALLING OR USING THE SOFTWARE. BY | | INSTALLING, COPYING OR OTHERWISE USING THE SOFTWARE, YOU AND YOUR COMPANY | | (COLLECTIVELY, "YOU") ARE ACCEPTING AND AGREEING TO THE TERMS OF THIS | | LICENSE AGREEMENT. IF YOU ARE NOT WILLING TO BE BOUND BY THIS AGREEMENT, DO | | NOT INSTALL OR USE THE SOFTWARE. VARIOUS COPYRIGHTS AND OTHER INTELLECTUAL | | PROPERTY RIGHTS PROTECT THE SOFTWARE. THIS AGREEMENT IS A LICENSE AGREEMENT | | THAT GIVES YOU LIMITED RIGHTS TO USE THE SOFTWARE AND NOT AN AGREEMENT FOR | | SALE OR FOR TRANSFER OF TITLE. THE AUTHOR RETAINS ALL RIGHTS NOT EXPRESSLY | | | | The Initial Developer of the Original Code is Creative Development LLC | | Portions created by Creative Development LLC are Copyright (C) 2003 Creative | | Development LLC. All Rights Reserved. | +------------------------------------------------------------------------------+ */ /* vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4: */ /** * Class Log_debug is a concrete implementation of the Log:: * abstract class which sends messages to client browser. Use for or the debug * purposes only. * * @package Kernel */ class Log_client extends Log { /** * Constructor. * * @param string $log_name (ignored) The target log name. * @param string $ident (optional) The identification field. * @param array $conf (ignored) The connection configuration array. */ function Log_debug($log_name, $ident = '', $conf = false) { $this->ident = $ident; } /** * Sends $message to the STDERR stream. * * @param string $message The textual message to be logged. * @param integer $priority (optional) The priority of the message. */ function log($message, $priority = LOG_INFO) { printf(">>> %s %s [%s] %s
\n", strftime("%b %d %H:%M:%S %Y"), $this->ident, Log::priorityToString($priority), $message); } } // WARNING : // Please ensure that you have no whitespaces / empty lines below this message. // Adding a whitespace or an empty line below this line will cause a PHP error. ?>