TjachLog_GetRegisteredWriters - jachguate/jachLogMgr GitHub Wiki
Class: TjachLog
Declaration: procedure GetRegisteredWriters(ARegisteredWriterList: TList<TjachLogWriter>);
TjachLog.GetRegisteredWriters Method
This method receives an instance of TList<TjachLogWriter> and populates the list with the registered writers at call time.
Use with care if your application is multithreaded and you're dynamically creating and registering writers, because the list will become invalid if another thread registers/unregisters a writer while you're using the list.
You are responsible to ensure this doesn't happen, for example, by using a CriticalSection.