!EVTMSG.DEF 1.0(102) - symbols for EVTMSG.SBX (using EVT_xxx syntax)
!-------------------.-------------------.-------------------.-------------------.
!EDIT HISTORY
! VEDIT=102
! Note: history reformatted 9-Feb-17
! [102] 13-Mar-07 / jdm / Add EVL_SETMSGFIL to establish new message file name
! [101] 08-Mar-07 / jdm / Move some of the defs inside EVTMSG.BP (not needed for 
!                           calling apps); define EVL_LOGPURE which doesn't include 
!                           any automatic info in the log (you specify everything 
!                           yourself; otherwise the log message contains dd-mon-yr 
!                           hh:mm:ss level [prog prgver job user ip])
! [100] 12-Mar-05 / jdm / Converted from EVTMSG.MAP to use define
!-------------------.-------------------.-------------------.-------------------.

define EVTMSG_FSPEC = "OPR:EVTMSG.LOG"    ! filespec for logging messages

! Symbols for EVTMSG.SBR ELVL (flags) argument
define EVL_DEBUG     = 0         ! debug mode
define EVL_INFO      = 1         ! info message
define EVL_WARN      = 2         ! warning message
define EVL_ERROR     = 3         ! error message
define EVL_FATAL     = 4         ! fatal error message

define EVL_SETMSGFIL = 9         ! establish message file name (no other action)

define EVL_LOG       = &h10      ! output to log (with or w/o msgbox)
define EVL_NOMSG     = &h20      ! turns off msgbox
define EVL_LOGONLY   = &h30      ! output to log only (no msgbox)
define EVL_NOSTAMP   = &h40      ! disable auto timestamping of log messages
define EVL_LOGPURE   = &h70      ! log only, no automatic timestamp info
