Rev 2 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2 | Rev 3 | ||
---|---|---|---|
Line 5... | Line 5... | ||
5 | const LOGEVENT_MSG_SUCCESS = 0 |
5 | const LOGEVENT_MSG_SUCCESS = 0 |
6 | const LOGEVENT_MSG_INFORMATIONAL = 1 |
6 | const LOGEVENT_MSG_INFORMATIONAL = 1 |
7 | const LOGEVENT_MSG_WARNING = 2 |
7 | const LOGEVENT_MSG_WARNING = 2 |
8 | const LOGEVENT_MSG_ERROR = 3 |
8 | const LOGEVENT_MSG_ERROR = 3 |
9 | 9 | ||
10 | objMyObject.LogEvent LOGEVENT_MSG_WARNING, "This is a test warning written by VBS" |
10 | objMyObject.LogEvent "MySourceName", LOGEVENT_MSG_WARNING, "This is a test warning written by VBS" |
11 | 11 | ||
12 | MsgBox "OK" |
12 | MsgBox "OK" |