AJS_Logger API

Headings
and
Definitions
Opt ......... Optional instance/property (where applicable). An application may use or ignore optional return-objects/-values.
N ............ Number of instances required, permitted or available within the scope in question (applies only to user-createable objects, a dash is shown for object properties)
Object ......Any object with an Object prototype
* ............ Many/Any-Class
StrLit/Str .. String object or string literal
Top-Level
Types
Name Class Opt N Arguments Returns Return Description
createAJS_LoggerFactory Function N 1 ( Object AJS, Function createDefMgr, Function onException) Function createAJS_Logger
createAJS_LoggerFactory_Validated Function N 1 ( Object AJS, Function createDefMgr, Function onException, Object AJS_Validator) Function createAJS_Logger (method-call validated)
createAJS_Logger Function Y 0..* ([ Object Stream]) Object Logger
Logger Object Y 0..*
LogDef Object Y 0..*
Stream Object Y 0..*
Logger
Properties
applyLogDef Function ( Object MethodOwner, Object LogDef [, StrLit/Str MethodOwnerName]) undefined
pushLogDef Function ( Object MethodOwner, Object LogDef [, StrLit/Str MethodOwnerName]) undefined
applyLogDefQueue Function ( ) NumLit No. definitions applied
suspend Function ( ) undefined
resume Function ( ) undefined
LoggerNum NumLit
AJS_Validator_Tag StrLit
Version StrLit
LogDef
Properties
MethodNames Array Y
preLogger Function Y ([ arguments Arguments [, Object MethodOwner [, StrLit/Str MethodName [, Object Stream [, NumLit/Num StackOffset [, Object LogDef]]]]]]) undefined
postLogger Function Y ([ arguments Arguments [, Object MethodOwner [, StrLit/Str MethodName [, Object Stream [, NumLit/Num StackOffset [, Object LogDef [, * RtnVal]]]]]]]) undefined
MethodNames
Members
MethodName StrLit/Str N 1..*
Stream
Properties
onMethodEntry Function N ( StrLit/Str MethodName) undefined
onMethodExit Function N ( StrLit/Str MethodName) undefined
Call-Backs createDefMgr Function N ( StrLit/Str ClientName, StrLit/Str DefType, Function onException Object DefMgr
onException Function N ( StrLit/Str ExceptionClassName, StrLit/Str Message [, NumLit/Num StackOffset]) undefined