Type Library |
JAGAXWrapLib |
ProgID |
Jaguar.JagServer |
Contains utility methods for use in EAServer ActiveX components.
WriteLog – Writes a message to the server’s log file.
Chapter 19, “Creating ActiveX Components,” in the EAServer Programmer’s Guide
Writes a message to the server’s log file.
IJagServer.WriteLog(useTimeStamp, message)
TRUE
if the
current date and time should be prepended to the log message; FALSE
otherwise.
A message to be written to the server’s log file.
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
Chapter 19, “Creating ActiveX Components,” in the EAServer Programmer’s Guide
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |