Service :: CreateMainTraceListener

01 Creates main trace listener for the service application.
02

[C++] virtual void CreateMainTraceListener(std::vector<TraceListener *> &listener);
[C#] virtual void CreateMainTraceListener(ArrayList listener);

03 Parameters:
  • listener: An array that holds the dynamical created listener objects
04 Any listener required for the application should be dynamically created and added to the array.
05 [C++] The created objects will be destroyed during destruction of the service.
06 The base implementation adds a TraceListenerFile to the array.
If the path for the trace files has not been explicitly set, the files will be created in the directory of the executable.
07 Reference: net::semys
Implementation: Semys Architecture
See Also: ArchService Sub-System, Service

Goto: Main Page; This page is part of the Semys software documentation. See About: Documentation for details.