Changeset 380
- Timestamp:
- 01/29/07 21:23:31 (6 years ago)
- Files:
-
- 1 modified
-
coldbox/trunk/src/system/plugins/logger.cfc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
coldbox/trunk/src/system/plugins/logger.cfc
r361 r380 17 17 06/28/2006 - Updates for coldbox 18 18 07/12/2006 - Tracer updates 19 01/20/2007 - Update for new bean types and formatting. 19 20 -----------------------------------------------------------------------> 20 21 <cfcomponent name="logger" … … 25 26 26 27 <!--- ************************************************************* ---> 28 27 29 <cffunction name="init" access="public" returntype="any" hint="Constructor" output="false"> 28 30 <cfset super.Init() /> … … 40 42 <cfreturn this> 41 43 </cffunction> 44 42 45 <!--- ************************************************************* ---> 43 46 … … 141 144 <!--- ************************************************************* ---> 142 145 <cfargument name="Message" type="string" required="yes"> 143 <cfargument name="ExceptionStruct" type=" any"required="no" default="#StructNew()#" hint="The CF cfcatch structure.">146 <cfargument name="ExceptionStruct" type="struct" required="no" default="#StructNew()#" hint="The CF cfcatch structure."> 144 147 <cfargument name="ExtraInfo" type="any" required="no" default=""> 145 148 <!--- ************************************************************* ---> 146 <cfset logErrorWithBean(getPlugin("beanFactory").create("coldbox.system.beans.exception ").init(arguments.ExceptionStruct,arguments.message,arguments.ExtraInfo))>149 <cfset logErrorWithBean(getPlugin("beanFactory").create("coldbox.system.beans.exceptionBean").init(arguments.ExceptionStruct,arguments.message,arguments.ExtraInfo))> 147 150 </cffunction> 148 151
