SIFWorks ADK 2.0
GetServerLog Method
NamespacesEdustructures.SifWorksAgentGetServerLog()()

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

Gets the agent-global ServerLog instance. Agents that wish to customize server-side logging may call this method to obtain the global Agent ServerLog instance. Call any of the following methods to set up the chain of loggers that will be inherited by all Zones: Unlike client-side logging, server logging requires a connection to a IZone 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 Agent level.
Declaration Syntax
C#Visual BasicVisual C++
public static ServerLog GetServerLog()
Public Shared Function GetServerLog As ServerLog
public:
static ServerLog^ GetServerLog ()
Return Value
The agent's ServerLog instance @since Adk 1.5

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