当前位置: 首页 > 图文教程 > 开发语言 > Delphi > 用简单的Tracer类来为应用写入跟踪
| {***********************} { } { CodeMachine } { } { 版权所有 (C) 2004 nil } { } { 2004-6-10 } { } {************************}
unit com.sunset.app.tracer; interface uses StrUtils,classes,SysUtils; type //========================== //跟踪信息的接口 //========================== //string形式的跟踪记录 //========================== |
TFileLog = class(TInterfacedObject, IOutput) TProcStr = procedure(const value:string) of Object; |