[
https://issues.apache.org/jira/browse/SHINDIG-615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12644067#action_12644067
]
dcitron edited comment on SHINDIG-615 at 10/30/08 11:41 AM:
-----------------------------------------------------------------
Since the Firebug console logger can accept printf-style syntax, shouldn't our
os.log function really be defined as follows?
os.log = function() {
var console = window['console'];
if (console && console.log) {
console.log.apply(null, arguments);
}
};
That way it can be invoked as, e.g.:
log("In %s with %o", functionName, someObject);
was (Author: dcitron):
Since the Firebug console logger can accept printf-style syntax, shouldn't
our os.log function really be defined as follows?
os.log = function( {
var console = window['console'];
if (console && console.log) {
console.log.apply(null, arguments);
}
};
That way it can be invoked as, e.g.:
log("In %s with %o", functionName, someObject);
> Enable template logging via Firebug if present
> ----------------------------------------------
>
> Key: SHINDIG-615
> URL: https://issues.apache.org/jira/browse/SHINDIG-615
> Project: Shindig
> Issue Type: Improvement
> Components: Features (Javascript)
> Reporter: Lev Epshteyn
> Priority: Minor
> Attachments: Enable-Firebug-Logging.patch
>
>
> Enables error logging by OpenSocial Templates to Firebug console if found.
> Other logging mechanisms are a TODO.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.