CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
Configuration.cc File Reference
#include "CondCore/ORA/interface/Configuration.h"
#include "CondCore/ORA/interface/IBlobStreamingService.h"
#include "CondCore/ORA/interface/IReferenceHandler.h"
#include <cstdlib>
#include <string.h>

Go to the source code of this file.

Functions

coral::MsgLevel coralMessageLevel (const char *envVar)
 

Variables

static const char * CORAL_MSG_LEVEL = "CORAL_MSG_LEVEL"
 

Function Documentation

coral::MsgLevel coralMessageLevel ( const char *  envVar)

Definition at line 9 of file Configuration.cc.

References Debug, runTheMatrix::ret, and EcalTangentSkim_cfg::Verbose.

Referenced by ora::Configuration::Configuration().

9  {
10  coral::MsgLevel ret = coral::Nil;
11  if( ::strcmp(envVar,"VERBOSE")==0 || ::strcmp(envVar,"Verbose")==0 ) ret = coral::Verbose;
12  if( ::strcmp(envVar,"DEBUG")==0 || ::strcmp(envVar,"Debug")==0 ) ret = coral::Debug;
13  if( ::strcmp(envVar,"INFO")==0 || ::strcmp(envVar,"Info")==0 ) ret = coral::Info;
14  if( ::strcmp(envVar,"WARNING")==0 || ::strcmp(envVar,"Warning")==0 ) ret = coral::Warning;
15  if( ::strcmp(envVar,"ERROR")==0 || ::strcmp(envVar,"Error")==0 ) ret = coral::Error;
16  if( ::strcmp(envVar,"FATAL")==0 || ::strcmp(envVar,"Fatal")==0 ) ret = coral::Fatal;
17  if( ::strcmp(envVar,"ALWAYS")==0 || ::strcmp(envVar,"Always")==0 ) ret = coral::Always;
18  if( ::strcmp(envVar,"NUMLEVELS")==0 || ::strcmp(envVar,"NumLevels")==0 ) ret = coral::NumLevels;
19  return ret;
20 }
tuple ret
prodAgent to be discontinued
const bool Debug

Variable Documentation

const char* CORAL_MSG_LEVEL = "CORAL_MSG_LEVEL"
static

Definition at line 8 of file Configuration.cc.

Referenced by ora::Configuration::Configuration().