2005/5/9

     
 

NamedLogArgs_h

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

NamedLogArgs.h File Reference

#include <acdk.h>
#include <acdk/lang/Thread.h>
#include <acdk/lang/Process.h>
#include <acdk/util/SysDate.h>
#include <acdk/lang/dmi/ScriptVar.h>
#include Level.h

Namespaces

namespace  acdk
namespace  acdk::util
namespace  acdk::util::logging

Compounds

class  NamedLogArgs
 Utility to support acdk::util::logging Used in the LOG_NPV, LOG_NPC and LOG_NPS macros. More...


Defines

#define LOG_NP(name, v)   ::acdk::util::logging::RNamedParameter(new ::acdk::util::logging::NamedParameter(RCS(#name), ::acdk::lang::inOf(v)))
 alias to LOG_NPV(name, v)

#define LOG_NPV(name, v)   LOG_NP(name, v)
#define LOG_SPV(name, v)   ::acdk::util::logging::RNamedParameter(new ::acdk::util::logging::NamedParameter(name, ::acdk::lang::inOf(v)))
#define LOG_NPC(name, v)   ::acdk::util::logging::RNamedParameter(new ::acdk::util::logging::NamedParameter(RCS(#name), LOG_NPS(v)))
#define LOG_NPS(stream)   const_cast<NamedLogArgs&>((const NamedLogArgs&)NamedLogArgs()) << stream
#define LOG_SPC(name, v)   ::acdk::util::logging::RNamedParameter(new ::acdk::util::logging::NamedParameter(name, LOG_NPS(v)))


Define Documentation

#define LOG_NPS stream   )     const_cast<NamedLogArgs&>((const NamedLogArgs&)NamedLogArgs()) << stream
 

#define LOG_SPV name,
 )     ::acdk::util::logging::RNamedParameter(new ::acdk::util::logging::NamedParameter(name, ::acdk::lang::inOf(v)))
 

Parameters:
name a string as label
v value