nl_tokens: Logs a message to help with debugging .
pl_tokens: function ( message , priority , callerId ) { if ( ! this . getEnabled ( ) ) { return this ; } var statics = Logger , priorities = statics . priorities , priorityValue = priorities [ <mask> ] , caller = this . log . caller , callerDisplayName = '' , writers = this . getWriters ( ) , event , i , originalCaller ; if ( ! priority ) { priority = 'info' ; } if ( priorities [ this . getMinPriority ( ) ] > priorityValue ) { return this ; } if ( ! callerId ) { callerId = 1 ; } if ( Ext . isArray ( message ) ) { message = message . join ( " " ) ; } else { message = String ( message ) ; } if ( typeof callerId == 'number' ) { i = callerId ; do { i -- ; caller = caller . caller ; if ( ! caller ) { break ; } if ( ! originalCaller ) { originalCaller = caller . caller ; } if ( i <= 0 && caller . displayName ) { break ; } } while ( caller !== originalCaller ) ; callerDisplayName = Ext . getDisplayName ( caller ) ; } else { caller = caller . caller ; callerDisplayName = Ext . getDisplayName ( callerId ) + '#' + caller . $name ; } event = { time : Ext . Date . now ( ) , priority : priorityValue , priorityName : priority , message : message , caller : caller , callerDisplayName : callerDisplayName } ; for ( i in writers ) { if ( writers . hasOwnProperty ( i ) ) { writers [ i ] . write ( Ext . merge ( { } , event ) ) ; } } return this ; }