Joomla CMS
2.5.24 (avec JPlatform 11.4 inclus)
Documentation des API du CMS Joomla en version 2.5 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
addEntry ($entry) |
Fonctions membres publiques statiques | |
static | add ($entry, $priority=JLog::INFO, $category= '', $date=null) |
static | addLogger (array $options, $priorities=JLog::ALL, $categories=array()) |
static | getInstance ($file= 'error.php', $options=null, $path=null) |
static | setInstance ($instance) |
Attributs publics | |
const | ALL = 30719 |
const | EMERGENCY = 1 |
const | ALERT = 2 |
const | CRITICAL = 4 |
const | ERROR = 8 |
const | WARNING = 16 |
const | NOTICE = 32 |
const | INFO = 64 |
const | DEBUG = 128 |
Attributs publics statiques | |
static | $legacy = array() |
Fonctions membres protégées | |
__construct () | |
addLogEntry (JLogEntry $entry) | |
findLoggers ($priority, $category) |
Attributs protégés | |
$configurations = array() | |
$loggers = array() | |
$lookup = array() |
Attributs protégés statiques | |
static | $instance |
|
protected |
Constructor.
|
static |
Method to add an entry to the log.
mixed | $entry | The JLogEntry object to add to the log or the message for a new JLogEntry object. |
integer | $priority | Message priority. |
string | $category | Type of entry |
string | $date | Date of entry (defaults to now if not specified or blank) |
Références $category, et $date.
Référencé par JImageFilter\__construct(), JSimpleCrypt\__construct(), JNode\__construct(), JTree\__construct(), JElement\__construct(), JParameter\__construct(), JImage\__construct(), JApplicationDaemon\__construct(), JSimpleXML\__construct(), JException\__construct(), JPaneTabs\__construct(), JRule\__construct(), JRules\__construct(), JPaneSliders\__construct(), FinderIndexerResponse\__construct(), JSimpleXMLElement\__construct(), JSimpleXML\_characterData(), JFactory\_createConfig(), JFactory\_createDbo(), JFactory\_createDocument(), JFactory\_createLanguage(), JFactory\_createMailer(), JFactory\_createSession(), JSimpleXML\_endElement(), JElementList\_getOptions(), JElementModuleLayouts\_getOptions(), JElementComponentLayouts\_getOptions(), JElementContentLanguages\_getOptions(), JElementTemplateStyle\_getSelected(), JSimpleXML\_getStackLocation(), JSimpleXML\_handleError(), JHtml\_includeRelativeFiles(), JPaneTabs\_loadBehavior(), JPaneSliders\_loadBehavior(), JSimpleXML\_parse(), JLanguage\_parseLanguageFiles(), JLanguage\_parseXMLLanguageFiles(), JSimpleXML\_startElement(), JHtmlList\accesslevel(), JSimpleXMLElement\addAttribute(), JNode\addChild(), JTree\addChild(), JSimpleXMLElement\addChild(), addEntry(), JDatabase\addQuoted(), JError\addToStack(), JHtmlImage\administrator(), JUtility\array_unshift_ref(), JUpdater\arrayUnique(), JXMLElement\asFormattedXML(), JError\attachHandler(), JSimpleXMLElement\attributes(), JUser\authorisedLevels(), JSite\authorize(), JUser\authorize(), JController\authorize(), FinderControllerIndexer\batch(), JParameter\bind(), JTable\canDelete(), JHtmlList\category(), FinderIndexerAdapter\change(), JApplicationDaemon\changeIdentity(), JController\checkEditId(), JSimpleXMLElement\children(), JHtml\core(), JError\customErrorHandler(), JError\customErrorPage(), JApplicationDaemon\daemonize(), JXMLElement\data(), JSimpleXMLElement\data(), JDatabase\debug(), JParameter\def(), JApplicationDaemon\detach(), JError\detachHandler(), JUtility\dump(), JPaneTabs\endPane(), JPaneSliders\endPane(), JPaneTabs\endPanel(), JPaneSliders\endPanel(), JImageFilterEdgedetect\execute(), JImageFilterEmboss\execute(), JImageFilterNegate\execute(), JImageFilterSketchy\execute(), JImageFilterBrightness\execute(), JImageFilterGrayScale\execute(), JImageFilterSmooth\execute(), JImageFilterContrast\execute(), JDatabaseMySQLi\execute(), JDatabaseMySQL\execute(), JDatabaseSQLSrv\execute(), JDatabaseMySQL\explain(), JDatabaseSQLSrv\explain(), JElementImageList\fetchElement(), JElementMenu\fetchElement(), JElementCategory\fetchElement(), JElementPassword\fetchElement(), JElementRadio\fetchElement(), JElementFilelist\fetchElement(), JElementFolderlist\fetchElement(), JElementSQL\fetchElement(), JElementTemplateStyle\fetchElement(), JElementTextarea\fetchElement(), JElementText\fetchElement(), JElementUserGroup\fetchElement(), JElementEditors\fetchElement(), JElementMenuItem\fetchElement(), JElementHelpsites\fetchElement(), JElementHidden\fetchElement(), JElementLanguages\fetchElement(), JElementTimezones\fetchElement(), JElementCalendar\fetchElement(), JElementSpacer\fetchElement(), JElement\fetchElement(), JElementHidden\fetchTooltip(), JElement\fetchTooltip(), JUpdaterExtension\findUpdate(), JUpdaterCollection\findUpdate(), JApplicationDaemon\fork(), JAccess\getActions(), JXMLElement\getAttribute(), JNode\getChildren(), FinderIndexerAdapter\getContentCount(), JSimpleXMLElement\getElementByPath(), JError\getError(), JException\getError(), JError\getErrorHandling(), JDatabase\getErrorMsg(), JDatabase\getErrorNum(), JError\getErrors(), JException\getErrors(), JDatabase\getEscaped(), JBrowser\getFeature(), JImage\getFilterInstance(), JParameter\getGroups(), JUtility\getHash(), JPane\getInstance(), getInstance(), JDatabase\getInstance(), FinderIndexerAdapter\getItem(), FinderIndexerAdapter\getItemMenuTitle(), FinderIndexerAdapter\getItems(), multilangstatusHelper\getLangfilter(), FinderIndexerAdapter\getListQuery(), JElement\getName(), JRegistry\getNameSpaces(), JParameter\getNumParams(), JFormFieldEditors\getOptions(), JInstaller\getOverwrite(), JParameter\getParam(), JParameter\getParams(), JTree\getParent(), JNode\getParent(), JSimpleXML\getParser(), JLanguage\getPluralSufficesCallback(), JBrowser\getQuirk(), JDatabase\getTableFields(), JDatabase\getTicker(), JUtility\getToken(), FinderIndexerAdapter\getTypeId(), FinderIndexerAdapter\getUpdateQueryByIds(), FinderIndexerAdapter\getUpdateQueryByTime(), JInstaller\getUpgrade(), JRegistry\getValue(), JFactory\getXMLParser(), JError\handleCallback(), JError\handleDie(), JError\handleEcho(), JError\handleIgnore(), JError\handleLog(), JError\handleMessage(), JError\handleVerbose(), JNode\hasChildren(), JBrowser\hasFeature(), JNode\hasParent(), JBrowser\hasQuirk(), JDatabaseMySQLi\hasUTF(), JDatabaseMySQL\hasUTF(), JController\holdEditId(), JBrowser\identifyBrowserVersion(), JSimpleXML\importDOM(), JApplicationDaemon\isActive(), JError\isError(), FinderHelperLanguage\isMultiLanguage(), JDatabase\isQuoted(), JUtility\isWinOS(), JSimpleXMLElement\level(), JSimpleXML\loadFile(), JImage\loadFile(), JRegistry\loadINI(), JRegistry\loadJSON(), JDatabase\loadResultArray(), JRegistry\loadSetupFile(), JSimpleXML\loadString(), JRegistry\loadXML(), JRegistry\makeNameSpace(), JSimpleXMLElement\map(), JHtmlBehavior\mootools(), JXMLElement\name(), JSimpleXMLElement\name(), JDatabase\nameQuote(), plgSystemRemember\onAfterInitialise(), FinderIndexerAdapter\onBeforeIndex(), FinderIndexerAdapter\onBuildIndex(), FinderIndexerAdapter\onStartIndex(), JHtmlSelect\optgroup(), JApplicationHelper\parseXMLInstallFile(), JDatabaseMySQLi\queryBatch(), JDatabaseMySQL\queryBatch(), JDatabaseSQLSrv\queryBatch(), JError\raise(), JError\raiseError(), JError\raiseNotice(), JError\raiseWarning(), JError\registerErrorLevel(), JController\releaseEditId(), FinderIndexerAdapter\remove(), JSimpleXMLElement\removeAttribute(), JSimpleXMLElement\removeChild(), JElement\render(), JParameter\render(), JError\renderBacktrace(), JComponentHelper\renderComponent(), JParameter\renderToArray(), JTree\reset(), JApplicationDaemon\restart(), JUtility\return_bytes(), JHtml\script(), JUtility\sendAdminMail(), JUtility\sendMail(), FinderControllerIndexer\sendResponse(), JException\set(), JController\setAccessControl(), JSimpleXMLElement\setData(), JException\setError(), JError\setErrorHandling(), JBrowser\setFeature(), JDate\setOffset(), JNode\setParent(), JSimpleXML\setParser(), JException\setProperties(), JBrowser\setQuirk(), JApplicationDaemon\setupSignalHandlers(), JRegistry\setValue(), JParameter\setXML(), JApplicationDaemon\shutdown(), JApplicationDaemon\signal(), JHtmlImage\site(), FinderControllerIndexer\start(), JApplicationDaemon\start(), JPaneTabs\startPane(), JPaneSliders\startPane(), JPaneTabs\startPanel(), JPaneSliders\startPanel(), JDatabase\stderr(), JApplicationDaemon\stop(), JRegistryFormatJSON\stringToObject(), JHtml\stylesheet(), JError\throwError(), JDate\toFormat(), JDate\toMySQL(), JObject\toString(), JSimpleXMLElement\toString(), JTableContent\toXML(), JTable\toXML(), JError\translateErrorLevel(), et JApplicationDaemon\writeProcessIdFile().
JLog::addEntry | ( | $entry | ) |
Method to add an entry to the log file.
array | $entry | Array of values to map to the format string for the log file. |
Références add(), elseif, et WARNING.
|
protected |
Method to add an entry to the appropriate loggers.
LogException |
Références $class, et JText\_().
|
static |
Method to set the way the JError will handle different error levels. Use this if you want to override the default settings.
array | $options | The object configuration array. |
integer | $priorities | Message priority |
array | $categories | Types of entry |
Références $options.
Référencé par plgSystemDebug\__construct(), JController\__construct(), FinderIndexerResponse\__construct(), FinderControllerIndexer\batch(), FinderControllerIndexer\sendResponse(), et FinderControllerIndexer\start().
|
protected |
Method to find the loggers to use based on priority and category values.
integer | $priority | Message priority. |
string | $category | Type of entry |
Références $category.
Returns a JLog object for a given log file/configuration, only creating it if it doesn't already exist.
This method must be invoked as: $log = JLog::getInstance($file, $options, $path);
string | $file | The filename of the log file. |
array | $options | The object configuration array. |
string | $path | The base path for the log file. |
Références $config, $file, $options, $path, add(), ALL, JFactory\getConfig(), null, et WARNING.
Référencé par JError\handleLog(), plgSystemLog\onUserLoginFailure(), et MediaControllerFile\upload().
|
static |
|
protected |
|
staticprotected |
|
static |
|
protected |
|
protected |
const JLog::ALERT = 2 |
Référencé par JLoggerMessageQueue\addEntry().
const JLog::ALL = 30719 |
Référencé par plgSystemDebug\__construct(), JController\__construct(), et getInstance().
const JLog::CRITICAL = 4 |
Référencé par JLoggerMessageQueue\addEntry(), et JApplicationDaemon\daemonize().
const JLog::DEBUG = 128 |
const JLog::EMERGENCY = 1 |
const JLog::ERROR = 8 |
Référencé par JImageFilter\__construct(), JImage\__construct(), JApplicationDaemon\__construct(), FinderIndexerResponse\__construct(), JLoggerMessageQueue\addEntry(), JApplicationDaemon\changeIdentity(), JImageFilterNegate\execute(), JImageFilterSketchy\execute(), JImageFilterEmboss\execute(), JImageFilterEdgedetect\execute(), JImageFilterGrayScale\execute(), JImageFilterContrast\execute(), JImageFilterSmooth\execute(), JImageFilterBrightness\execute(), JDatabaseMySQLi\execute(), JDatabaseMySQL\execute(), JDatabaseSQLSrv\execute(), JImage\getFilterInstance(), JImage\loadFile(), FinderControllerIndexer\sendResponse(), et JApplicationDaemon\writeProcessIdFile().
const JLog::INFO = 64 |
Référencé par JLogEntry\__construct(), JLoggerMessageQueue\addEntry(), FinderControllerIndexer\batch(), FinderIndexerAdapter\change(), JApplicationDaemon\changeIdentity(), JController\checkEditId(), FinderIndexerAdapter\getContentCount(), FinderIndexerAdapter\getItem(), FinderIndexerAdapter\getItemMenuTitle(), FinderIndexerAdapter\getItems(), FinderIndexerAdapter\getListQuery(), FinderIndexerAdapter\getTypeId(), FinderIndexerAdapter\getUpdateQueryByIds(), FinderIndexerAdapter\getUpdateQueryByTime(), JController\holdEditId(), FinderIndexerAdapter\onBeforeIndex(), FinderIndexerAdapter\onBuildIndex(), FinderIndexerAdapter\onStartIndex(), JController\releaseEditId(), FinderIndexerAdapter\remove(), JApplicationDaemon\restart(), JApplicationDaemon\shutdown(), FinderControllerIndexer\start(), JApplicationDaemon\start(), et JApplicationDaemon\stop().
const JLog::NOTICE = 32 |
const JLog::WARNING = 16 |
Référencé par JSimpleCrypt\__construct(), JNode\__construct(), JTree\__construct(), JElement\__construct(), JParameter\__construct(), JSimpleXML\__construct(), JException\__construct(), JPaneTabs\__construct(), JRule\__construct(), JRules\__construct(), JPaneSliders\__construct(), JSimpleXMLElement\__construct(), JSimpleXML\_characterData(), JFactory\_createConfig(), JFactory\_createDbo(), JFactory\_createDocument(), JFactory\_createLanguage(), JFactory\_createMailer(), JFactory\_createSession(), JSimpleXML\_endElement(), JElementModuleLayouts\_getOptions(), JElementList\_getOptions(), JElementComponentLayouts\_getOptions(), JElementContentLanguages\_getOptions(), JElementTemplateStyle\_getSelected(), JSimpleXML\_getStackLocation(), JSimpleXML\_handleError(), JHtml\_includeRelativeFiles(), JPaneTabs\_loadBehavior(), JPaneSliders\_loadBehavior(), JSimpleXML\_parse(), JLanguage\_parseLanguageFiles(), JLanguage\_parseXMLLanguageFiles(), JSimpleXML\_startElement(), JHtmlList\accesslevel(), JSimpleXMLElement\addAttribute(), JNode\addChild(), JTree\addChild(), JSimpleXMLElement\addChild(), JLoggerMessageQueue\addEntry(), addEntry(), JDatabase\addQuoted(), JError\addToStack(), JHtmlImage\administrator(), JUtility\array_unshift_ref(), JUpdater\arrayUnique(), JXMLElement\asFormattedXML(), JError\attachHandler(), JSimpleXMLElement\attributes(), JUser\authorisedLevels(), JSite\authorize(), JUser\authorize(), JController\authorize(), JParameter\bind(), JTable\canDelete(), JHtmlList\category(), JSimpleXMLElement\children(), JHtml\core(), JError\customErrorHandler(), JError\customErrorPage(), JApplicationDaemon\daemonize(), JXMLElement\data(), JSimpleXMLElement\data(), JParameter\def(), JError\detachHandler(), JUtility\dump(), JPaneTabs\endPane(), JPaneSliders\endPane(), JPaneTabs\endPanel(), JPaneSliders\endPanel(), JDatabaseMySQL\explain(), JDatabaseSQLSrv\explain(), JElementPassword\fetchElement(), JElementRadio\fetchElement(), JElementCategory\fetchElement(), JElementUserGroup\fetchElement(), JElementMenu\fetchElement(), JElementFilelist\fetchElement(), JElementFolderlist\fetchElement(), JElementImageList\fetchElement(), JElementSQL\fetchElement(), JElementTemplateStyle\fetchElement(), JElementTextarea\fetchElement(), JElementText\fetchElement(), JElementEditors\fetchElement(), JElementHelpsites\fetchElement(), JElementHidden\fetchElement(), JElementMenuItem\fetchElement(), JElementLanguages\fetchElement(), JElementTimezones\fetchElement(), JElementCalendar\fetchElement(), JElementSpacer\fetchElement(), JElement\fetchElement(), JElementHidden\fetchTooltip(), JElement\fetchTooltip(), JUpdaterExtension\findUpdate(), JUpdaterCollection\findUpdate(), JAccess\getActions(), JXMLElement\getAttribute(), JNode\getChildren(), JSimpleXMLElement\getElementByPath(), JError\getError(), JException\getError(), JError\getErrorHandling(), JDatabase\getErrorMsg(), JDatabase\getErrorNum(), JError\getErrors(), JException\getErrors(), JDatabase\getEscaped(), JBrowser\getFeature(), JParameter\getGroups(), JUtility\getHash(), JPane\getInstance(), getInstance(), JDatabase\getInstance(), multilangstatusHelper\getLangfilter(), JElement\getName(), JRegistry\getNameSpaces(), JParameter\getNumParams(), JFormFieldEditors\getOptions(), JInstaller\getOverwrite(), JParameter\getParam(), JParameter\getParams(), JTree\getParent(), JNode\getParent(), JSimpleXML\getParser(), JLanguage\getPluralSufficesCallback(), JBrowser\getQuirk(), JDatabase\getTableFields(), JUtility\getToken(), JInstaller\getUpgrade(), JRegistry\getValue(), JFactory\getXMLParser(), JError\handleCallback(), JError\handleDie(), JError\handleEcho(), JError\handleIgnore(), JError\handleLog(), JError\handleMessage(), JError\handleVerbose(), JNode\hasChildren(), JBrowser\hasFeature(), JNode\hasParent(), JBrowser\hasQuirk(), JDatabaseMySQLi\hasUTF(), JDatabaseMySQL\hasUTF(), JSimpleXML\importDOM(), JApplicationDaemon\isActive(), JError\isError(), FinderHelperLanguage\isMultiLanguage(), JDatabase\isQuoted(), JUtility\isWinOS(), JSimpleXMLElement\level(), JSimpleXML\loadFile(), JRegistry\loadINI(), JRegistry\loadJSON(), JDatabase\loadResultArray(), JRegistry\loadSetupFile(), JSimpleXML\loadString(), JRegistry\loadXML(), JRegistry\makeNameSpace(), JSimpleXMLElement\map(), JHtmlBehavior\mootools(), JXMLElement\name(), JSimpleXMLElement\name(), JDatabase\nameQuote(), plgSystemRemember\onAfterInitialise(), JHtmlSelect\optgroup(), JApplicationHelper\parseXMLInstallFile(), JDatabaseMySQLi\queryBatch(), JDatabaseMySQL\queryBatch(), JDatabaseSQLSrv\queryBatch(), JError\raise(), JError\raiseError(), JError\raiseNotice(), JError\raiseWarning(), JError\registerErrorLevel(), JSimpleXMLElement\removeAttribute(), JSimpleXMLElement\removeChild(), JElement\render(), JParameter\render(), JError\renderBacktrace(), JComponentHelper\renderComponent(), JParameter\renderToArray(), JTree\reset(), JUtility\return_bytes(), JHtml\script(), JUtility\sendAdminMail(), JUtility\sendMail(), JException\set(), JController\setAccessControl(), JSimpleXMLElement\setData(), JException\setError(), JError\setErrorHandling(), JBrowser\setFeature(), JDate\setOffset(), JNode\setParent(), JSimpleXML\setParser(), JException\setProperties(), JBrowser\setQuirk(), JRegistry\setValue(), JParameter\setXML(), JHtmlImage\site(), JPaneTabs\startPane(), JPaneSliders\startPane(), JPaneTabs\startPanel(), JPaneSliders\startPanel(), JDatabase\stderr(), JRegistryFormatJSON\stringToObject(), JHtml\stylesheet(), JError\throwError(), JDate\toFormat(), JDate\toMySQL(), JObject\toString(), JSimpleXMLElement\toString(), JTableContent\toXML(), JTable\toXML(), et JError\translateErrorLevel().