| Package | de.flamelab.log |
| Class | public class LogRegistry |
| Method | Defined by | ||
|---|---|---|---|
|
LogRegistry(singleton:LogSingleton)
Constructor, only works if instance of internal class LogSingleton
is passed in as argument.
| LogRegistry | ||
|
getAll():Object
[static]
Return object list of all registered instances with name identifiers
| LogRegistry | ||
|
[static]
Get singleton instance of class.
| LogRegistry | ||
|
[static]
Get log instance stored in registry.
| LogRegistry | ||
|
removeLog(key:String):Boolean
[static]
remove log instance from registry.
| LogRegistry | ||
|
[static]
Add log instacne to registry.
| LogRegistry | ||
|
unset():void
[static]
Unset registry and clear registrations.
| LogRegistry | ||
| LogRegistry | () | constructor |
public function LogRegistry(singleton:LogSingleton)Constructor, only works if instance of internal class LogSingleton is passed in as argument.
Parameterssingleton:LogSingleton — Instance of internal class LogSingleton
|
| getAll | () | method |
public static function getAll():ObjectReturn object list of all registered instances with name identifiers
ReturnsObject — Object Hash with all name->Log instance associations
|
| getInstance | () | method |
public static function getInstance():LogRegistryGet singleton instance of class.
ReturnsLogRegistry —
LogRegistry Singleton instance of class
|
| getLog | () | method |
public static function getLog(key:String):LogGet log instance stored in registry.
Parameterskey:String — Identifier for instance
|
Log —
Log Instance registered with name
or null if no instance can be found
|
| removeLog | () | method |
public static function removeLog(key:String):Booleanremove log instance from registry.
Parameterskey:String — Identifier for instance
|
Boolean — Boolean true if removing worked
false if name is not registered
|
| setLog | () | method |
public static function setLog(key:String, log:Log):BooleanAdd log instacne to registry.
Parameterskey:String — Identifier for instance
|
|
log:Log — Log instance
|
Boolean — Boolean true if adding worked
false if name is already registered
|
| unset | () | method |
public static function unset():voidUnset registry and clear registrations.