IJagServer interface

Description

Type Library

JAGAXWrapLib

ProgID

Jaguar.JagServer

Contains utility methods for use in EAServer ActiveX components.

Methods

See also

Chapter 19, “Creating ActiveX Components,” in the EAServer Programmer’s Guide




IJagServer.WriteLog

Description

Writes a message to the server’s log file.

Syntax

IJagServer.WriteLog(useTimeStamp, message)

Parameters

useTimeStamp

TRUE if the current date and time should be prepended to the log message; FALSE otherwise.

message

A message to be written to the server’s log file.

Examples

Example 1

The following Visual Basic fragment declares a function that writes a string to the server’s log, prepended with the name of the component:

Private Function writeToLog(msg As String)
  Dim jserver As JAGAXWrapLib.JagServer
  Set jserver = New JAGAXWrapLib.JagServer
  jserver.WriteLog True, Format("MyComponent: " & msg)
End Function

See also

Chapter 19, “Creating ActiveX Components,” in the EAServer Programmer’s Guide