SIFWorks ADK 2.0
ServerLog Property
NamespacesEdustructures.SifWorksAdkServerLog

[This is preliminary documentation and is subject to change.]

Gets the root ServerLog instance for the Adk.
Declaration Syntax
C#Visual BasicVisual C++
public static ServerLog ServerLog{ get;}
Public Shared ReadOnly Property ServerLog As ServerLog
public:
static property ServerLog^ ServerLog {
	ServerLog^ get ();
}
Return Value
The Adk's root ServerLog instance
Remarks
Agents that wish to customize Adk server-side logging may call this method to obtain the class framework's root ServerLog instance. Call any of the following methods to set up the chain of loggers that will be inherited by the Agent and all Zones:
  • addLogger
  • removeLogger
  • clearLoggers
  • getLoggers
Unlike client-side logging, server logging requires a connection to a Zone Integration Server. Because the current SIF 1.x infrastructure does not allow connections to servers independent of a zone, the logging methods of ServerLog are useful only when called within the context of a zone. Therefore, calling any of the logging methods on the ServerLog instance returned by this method will result in an IllegalStateException. This method is provided only to set up the ServerLog logger chain at the global Adk level.

Assembly: Edustructures.SifWorks.Adk (Module: Edustructures.SifWorks.Adk) Version: 2.0.0.10