logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Labelle Bruno <Bruno.Labe...@loto-quebec.com>
Subject NTEventLogAppender Log Category
Date Fri, 07 Jan 2005 18:49:42 GMT
Hello,
Is there a reason for the category of the event to be like they are.
That is :
Case Level::FATAL_INT:
		ret_val = 1;
		break;
case Level::ERROR_INT:
		ret_val = 2;
		break;
case Level::WARN_INT:
		ret_val = 3;
		break;
case Level::INFO_INT:
		ret_val = 4;
		break;
case Level::DEBUG_INT:
default:
		ret_val = 5;
		break;

Because in the EventLog Viewer : 1 = Shell, 2 = Services, 3 = Printers, 4 =
Drive, 5 = Devices; and I do not find it realy significant. None would be
more appropriate.

Thank you
Bruno Labelle

Mime
View raw message