Displaying 2 results from an estimated 2 matches for "category_error".
Did you mean:
h_category_error
2006 May 21
6
Possible problems with EventLog#write
...u may be
able to use the /AUXSOURCE= flag to retrieve this description; see Help
and Support for details. The following information is part of the event:
test.
Anyway, here''s the .mc file (which I took from the tutorial.txt file)
and the test file:
; foo.mc
MessageId=0x1
SymbolicName=CATEGORY_ERROR
Language=English
error
.
MessageId=0x2
SymbolicName=CATEGORY_WARNING
Language=English
warning
.
MessageId=0x3
Severity=Error
SymbolicName=FOO_ERROR
Language=English
Error: %1
.
# add.rb
dll_file = Dir.pwd + ''/foo.dll''
EventLog.add_event_source(
"key_name"...
2004 Oct 17
0
Plans for eventlog and service - feedback wanted
...vice we could automatically send stdout, stderr and
warnings to the RubyMsg log. Presumably, we could just check for the keys
existence. Otherwise, we could just instruct folks that they should
redirect stdout, etc, on their own.
Here is the .mc file I had in mind:
MessageId=0x1
SymbolicName=CATEGORY_ERROR
Language=English
Error
.
MessageId=0x2
SymbolicName=CATEGORY_WARNING
Language=English
Warning
.
MessageId=0x3
SymbolicName=CATEGORY_OUTPUT
Language=English
Output
.
MessageId=0x4
SymbolicName=RUBY_ERROR
Language=English
Ruby error: %1
.
MessageId=0x5
SymbolicName=RUBY_WARNING
Language=English
R...