sysLogFile

C Styled Script
Reference Manual

<< Back  End  Next >>
 
 
INDEX
Introduction
Installation
Using The CSS Executive
Language
Directives
System Library
   sysCommand
   sysDate
   sysDirectory
   sysElapsed
   sysEnvVar
   sysLoadScript
   sysLoadLibrary
   sysLog
   sysLogFile
   sysLogLevel
   sysProfile
   sysPrompt
   sysSleep
   sysShow
   sysStartDate
   sysStartTime
   sysSystemProfile
   sysTime
   sysTrace
   sysUserProfile
String Library
Regular Expression Lib.
File Library
Database Library
C API
C++ API
CSS Links
  
sysLogFile(
  [const filename]) // name of logfile to open

Opens or closes a logfile. If no argument is given the currently open logfile is closed. If an argument is given, the currently open logfile is closed an a new one is opened. The logfile is allways opened in append mode.

If no extention is given, .log is appended.

Returns name of logfile.

Example:

#loadLibrary 'KcSysLib'
#loadLibrary 'KcStrLib'
 
main()
{
  // open logfile with same name as script but extension .log
  sysLogFile(strStripExtension(cssFileName));
  ...
}
 Copyright © IBK LandquartLast revised by Peter Koch, 24.02.00<< Back  Top  Next >>