Changeset 330 for branches/2.19_branch/NewView/DebugUnit.pas
- Timestamp:
- Aug 30, 2008, 9:01:55 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.19_branch/NewView/DebugUnit.pas
r324 r330 34 34 LogAspects = SET OF LogAspect; 35 35 36 Function IsLogAspectsEnabled(const aLogAspect: LogAspect) : boolean; 36 37 Procedure LogEvent(const aLogAspect: LogAspect; const anEventDescription: String); 37 38 … … 166 167 167 168 169 Function IsLogAspectsEnabled(const aLogAspect: LogAspect) : boolean; 170 Begin 171 result := aLogAspect IN activeLogAspects; 172 End; 173 174 168 175 Procedure LogEvent(const aLogAspect: LogAspect; const anEventDescription: String); 169 176 Var 170 177 tmpMessage : String; 171 178 Begin 172 if (aLogAspect IN activeLogAspects) then179 if IsLogAspectsEnabled(aLogAspect) then 173 180 begin 174 181 tmpMessage := 'Log[' + GetAspectPrefix(aLogAspect) + '] ' + anEventDescription;
Note:
See TracChangeset
for help on using the changeset viewer.