[Progress Communities] [Progress OpenEdge ABL] Allow user-defined LOG-ENTRY-TYPES

  • Thread starter Thread starter olivier.dunemann
  • Start date Start date
Status
Not open for further replies.
O

olivier.dunemann

Guest
The goal is to be able to conditionally execute LOG-MANAGER:WRITE-MESSAGE statements. Consider a debugging message written in the Client log under the user-defined "DEBUG1" subsystem: LOG-MANAGER:WRITE-MESSAGE("blabla","DEBUG1"). It would be interesting to write this message only if the (user-defined) "DEBUG1" LogEntryType has been selected. I.o.w: IF LOG-MANAGER:LOG-ENTRY-TYPES MATCHES "*DEBUG1*" THEN LOG-MANAGER:WRITE-MESSAGE("blabla","DEBUG1").

Continue reading...
 
Status
Not open for further replies.
Back
Top