stafmon.tcl

来自「Software Testing Automation Framework (S」· TCL 代码 · 共 37 行

TCL
37 行
字号
############################################################################## Software Testing Automation Framework (STAF)                              ## (C) Copyright IBM Corp. 2001                                              ##                                                                           ## This software is licensed under the Common Public License (CPL) V1.0.     ################################################################################################################################## STAFMon.tcl - STAF Monitor REXX Library         ####################################################package provide STAFMon 1.0package require STAFnamespace eval STAF::Monitor {    variable SystemName              local      variable ServiceName             monitor}############################################################### STAF::Monitor::Log - Logs data to the STAF Monitor Service ##                                                            ## Accepts: The message to log to the Monitor service         ##          Optionally, an extra Monitor LOG options          ##                                                            ## Returns: 0 , if successful                                 ##          >0, if not successful                             ###############################################################proc STAF::Monitor::Log {message {options ""}} {  return [STAF::Submit $STAF::Monitor::SystemName $STAF::Monitor::ServiceName \                       "LOG MESSAGE [STAF::WrapData $message] $options"]}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?