Chapter 3 ActiveX IDispatch Interface Reference


IJagServer interface

Description

Type Library

JAGAXWrapLib

Progid

Jaguar.JagServer

Contains utility methods for use in Jaguar ActiveX components.

Methods

See Also

Chapter 8, "Creating ActiveX Components" in the Jaguar CTS Programmer's Guide


IJagServer.WriteLog

Description

Write 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

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 writeToJaguarLog(msg As String)
Dim jserver As JAGAXWrapLib.JagServer
Set jserver = New JAGAXWrapLib.JagServer
jserver.WriteLog True, Format("MyComponent: " & msg)
End Function

See Also

Chapter 8, "Creating ActiveX Components" in the Jaguar CTS Programmer's Guide

 


Copyright © 2000 Sybase, Inc. All rights reserved.