RE: Verbosity control macros

From: Bishnupriya Bhattacharya <bpriya@cadence.com>
Date: Tue Dec 07 2010 - 21:12:27 PST

John,

See my other email.

I'm proposing the new macro SC_REPORT_INFO_VERB as below, and no changes to the existing macros.

-Bishnupriya
________________________________
From: john.aynsley@doulos.com [mailto:john.aynsley@doulos.com]
Sent: Wednesday, December 08, 2010 8:51 AM
To: Bishnupriya Bhattacharya; systemc-p1666-technical@eda.org
Subject: Verbosity control macros

Bishnupriya,

To clarify, I think we are now proposing:

#define SC_REPORT_INFO_VERB( msg_type , msg, verbosity ) \
    sc_report_handler::report( SC_INFO , msg_type , msg , verbosity, __FILE__ , __LINE__ )

#define SC_REPORT_INFO( msg_type , msg ) \
    sc_report_handler::report( SC_INFO , msg_type , msg , sc_core::SC_MEDIUM, __FILE__ , __LINE__ )

#define SC_REPORT_WARNING( msg_type , msg ) \
    sc_report_handler::report( SC_WARNING , msg_type , msg , __FILE__ , __LINE__ )

#define SC_REPORT_ERROR( msg_type , msg ) \
    sc_report_handler::report( SC_ERROR , msg_type , msg , __FILE__ , __LINE__ )

#define SC_REPORT_FATAL( msg_type , msg ) \
    sc_report_handler::report( SC_FATAL , msg_type , msg , __FILE__ , __LINE__ )

Is that right?

Thanks,

John A

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Tue Dec 7 21:13:11 2010

This archive was generated by hypermail 2.1.8 : Tue Dec 07 2010 - 21:13:13 PST