From 73c57b068475257a722286138b55706436625f76 Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Wed, 21 Dec 2011 16:20:19 +0000 Subject: little doc updated related to previous commit --- demos/quickstart/protected/pages/Advanced/Logging.page | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'demos') diff --git a/demos/quickstart/protected/pages/Advanced/Logging.page b/demos/quickstart/protected/pages/Advanced/Logging.page index 357a303a..0b7230b7 100644 --- a/demos/quickstart/protected/pages/Advanced/Logging.page +++ b/demos/quickstart/protected/pages/Advanced/Logging.page @@ -2,7 +2,7 @@

Logging

-PRADO provides a highly flexible and extensible logging functionality. Messages logged can be classified according to log levels and message categories. Using level and category filters, the messages can be further routed to different destinations, such as files, emails, browser windows, etc. The following diagram shows the basic architecture of PRADO logging mechanism, +PRADO provides a highly flexible and extensible logging functionality. Messages logged can be classified according to log levels, message categories and originating control. Using level, category, control or timestamp filters, the messages can be further routed to different destinations, such as files, emails, browser windows, etc. The following diagram shows the basic architecture of PRADO logging mechanism,

Log router @@ -11,8 +11,8 @@ PRADO provides a highly flexible and extensible logging functionality. Messages The following two methods are provided for logging messages in PRADO,

-Prado::log($message, $logLevel, $category); -Prado::trace($message, $category); +Prado::log($message, $logLevel, $category, $control); +Prado::trace($message, $category, $control);

The difference between Prado::log() and Prado::trace() is that the latter automatically selects the log level according to the application mode. If the application is in Debug mode, stack trace information is appended to the messages. Prado::trace() is widely used in the core code of the PRADO framework. @@ -58,5 +58,4 @@ Message categories are hierarchical. A category whose name is the prefix of anot

By convention, the messages logged in the core code of PRADO are categorized according to the namespace of the corresponding classes. For example, messages logged in TPage will be of category System.Web.UI.TPage.

- -- cgit v1.2.3