diff options
Diffstat (limited to 'TAO/examples/Logging/Logger_i.h')
-rw-r--r-- | TAO/examples/Logging/Logger_i.h | 30 |
1 files changed, 12 insertions, 18 deletions
diff --git a/TAO/examples/Logging/Logger_i.h b/TAO/examples/Logging/Logger_i.h index 0c11bd6e257..c775c094e55 100644 --- a/TAO/examples/Logging/Logger_i.h +++ b/TAO/examples/Logging/Logger_i.h @@ -34,37 +34,32 @@ public: virtual ~Logger_i (void); // destructor - virtual void log (const Logger::Log_Record &log_rec, - CORBA::Environment &ACE_TRY_ENV = - TAO_default_environment ()) + virtual void log (const Logger::Log_Record &log_rec + TAO_ENV_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); // Writes the <log_rec> to the standard output. virtual void logv (const Logger::Log_Record &log_rec, - Logger::Verbosity_Level verbosity, - CORBA::Environment &ACE_TRY_ENV = - TAO_default_environment ()) + Logger::Verbosity_Level verbosity + TAO_ENV_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); // Writes the <log_rec> to the standard output with the given // verbosity level - virtual void log2 (const Logger::Log_Record &log_rec, - CORBA::Environment &ACE_TRY_ENV = - TAO_default_environment ()) + virtual void log2 (const Logger::Log_Record &log_rec + TAO_ENV_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); // Writes the <log_rec> to the standard output. virtual void logv2 (const Logger::Log_Record &log_rec, - Logger::Verbosity_Level verbosity, - CORBA::Environment & ACE_TRY_ENV= - TAO_default_environment ()) + Logger::Verbosity_Level verbosity + TAO_ENV_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); // Writes the <log_rec> to the standard output with the given // verbosity level - void verbosity (Logger::Verbosity_Level level, - CORBA::Environment &ACE_TRY_ENV = - TAO_default_environment ()) + void verbosity (Logger::Verbosity_Level level + TAO_ENV_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); // Sets the verbosity level. Valid values are {VERBOSE, VERBOSE_LITE // and SILENT}. Defaults to VERBOSE @@ -98,9 +93,8 @@ public: ~Logger_Factory_i (void); // Destructor. - virtual Logger_ptr make_logger (const char *name, - CORBA::Environment &ACE_TRY_ENV = - TAO_default_environment ()) + virtual Logger_ptr make_logger (const char *name + TAO_ENV_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); // This function returns a logger with name <name>. If <name> is // unique, a new logger is created; else, a previously created |