WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=19f86de324ec28227a416589850dc2232c7825c2
commit 19f86de324ec28227a416589850dc2232c7825c2 Author: Lauro Moura <[email protected]> Date: Wed Dec 2 13:20:00 2015 -0800 Wiki page logging changed with summary [] by Lauro Moura --- pages/api/javascript/eina/logging.txt | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/pages/api/javascript/eina/logging.txt b/pages/api/javascript/eina/logging.txt index 5b84378..ea5c20e 100644 --- a/pages/api/javascript/eina/logging.txt +++ b/pages/api/javascript/eina/logging.txt @@ -207,7 +207,20 @@ efl.logPrint(efl.LOG_DOMAIN_GLOBAL, efl.LOG_LEVEL_WARN, "Warning. Exclamation po efl.logPrint(mydomain, efl.LOG_LEVEL_INFO, "Information. We want information."); </code> -=== logTiming(...) === +=== logTiming(domain, state, phase) === + +Syntax + +<code javascript> +efl.logTiming(domainId, state, phase); +</code> + +Parameters + + * domainId - The id of the target domain + * state - State indicating if we are starting or stopping a phase. + * phase - The phase of the name to be used in the log. + === logWarning(message) === @@ -217,6 +230,10 @@ Syntax efl.logWarning(message); </code> +Parameters + + * message - String to be print. + Helper wrapper around ''efl.logPrint'' what prints a message with ''efl.LOG_LEVEL_WARN'' to the global domain. === registerLogDomain(name, color) === --
