[nem-bug] [Nemerle 0000542]: Logging macros should allow various
logging functions to be used (and other improvements)
feedback at nemerle.org
feedback at nemerle.org
Sun Oct 2 12:01:17 CEST 2005
The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=542>
======================================================================
Reported By: nazgul
Assigned To:
======================================================================
Project: Nemerle
Issue ID: 542
Category: Compiler
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 10-02-2005 12:01 CEST
Last Modified: 10-02-2005 12:01 CEST
======================================================================
Summary: Logging macros should allow various logging
functions to be used (and other improvements)
Description:
The first straightforward method of choosing one should be the used log
variable:
[LogFunction (INFO => log4net_category.info, DEBUG =>
log4net_category.debug, ...)
Another possibility to achieve similar effect is to pass the used variable
as first parameter of logging function (as string). This improvement and
others would be possible to do easily by introducing local variables to
be used by logging function (just like we do in Trace macro):
[LogFunction (my_logg (_LOG_VARIABLE, _file, _line, _str)]
but there is a design issue, that currently LogFunction expects...
function, not its call expression.
I would like to implement the better version for the next release, but I
need some comments to use the final, superior design :-)
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
10-02-05 12:01 nazgul New Issue
======================================================================
More information about the bugs
mailing list