CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MessageLogger.py
Go to the documentation of this file.
1 #import FWCore.ParameterSet.Config as cms
2 from .Types import *
3 from .Modules import Service
4 
5 _category = optional.untracked.PSetTemplate(
6  reportEvery = untracked.int32(1),
7  limit = optional.untracked.int32,
8  timespan = optional.untracked.int32
9 )
10 
11 _destination_base = untracked.PSet(
12  noLineBreaks = optional.untracked.bool,
13  noTimeStamps = optional.untracked.bool,
14  lineLength = optional.untracked.int32,
15  threshold = optional.untracked.string,
16  statisticsThreshold = optional.untracked.string,
17  allowAnyLabel_ = _category
18 )
19 _destination_no_stat = _destination_base.clone(
20  enableStatistics = untracked.bool(False),
21  resetStatistics = untracked.bool(False)
22 )
23 
24 _file_destination = optional.untracked.PSetTemplate(
25  noLineBreaks = optional.untracked.bool,
26  noTimeStamps = optional.untracked.bool,
27  lineLength = optional.untracked.int32,
28  threshold = optional.untracked.string,
29  statisticsThreshold = optional.untracked.string,
30  enableStatistics = untracked.bool(False),
31  resetStatistics = untracked.bool(False),
32  filename = optional.untracked.string,
33  extension = optional.untracked.string,
34  output = optional.untracked.string,
35  allowAnyLabel_ = _category
36 )
37 
38 _default_pset = untracked.PSet(
39  reportEvery = untracked.int32(1),
40  limit = optional.untracked.int32,
41  timespan = optional.untracked.int32,
42 
43  noLineBreaks = untracked.bool(False),
44  noTimeStamps = untracked.bool(False),
45  lineLength = untracked.int32(80),
46  threshold = untracked.string("INFO"),
47  statisticsThreshold = untracked.string("INFO"),
48  allowAnyLabel_ = _category
49 )
50 
51 
52 MessageLogger = Service("MessageLogger",
53  suppressWarning = untracked.vstring(),
54  suppressFwkInfo = untracked.vstring(),
55  suppressInfo = untracked.vstring(),
56  suppressDebug = untracked.vstring(),
57  debugModules = untracked.vstring(),
58  cout = _destination_no_stat.clone(
59  enable = untracked.bool(False)
60  ),
61  default = _default_pset.clone(),
62  cerr = _destination_base.clone(
63  enable = untracked.bool(True),
64  enableStatistics = untracked.bool(True),
65  resetStatistics = untracked.bool(False),
66  statisticsThreshold = untracked.string('WARNING'),
67  INFO = untracked.PSet(
68  limit = untracked.int32(0)
69  ),
70  noTimeStamps = untracked.bool(False),
71  FwkReport = untracked.PSet(
72  reportEvery = untracked.int32(1),
73  limit = untracked.int32(10000000)
74  ),
75  default = untracked.PSet(
76  limit = untracked.int32(10000000)
77  ),
78  Root_NoDictionary = untracked.PSet(
79  limit = untracked.int32(0)
80  ),
81  FwkSummary = untracked.PSet(
82  reportEvery = untracked.int32(1),
83  limit = untracked.int32(10000000)
84  ),
85  threshold = untracked.string('INFO')
86  ),
87  files = untracked.PSet(
88  allowAnyLabel_ = _file_destination
89  ),
90  allowAnyLabel_ = _category
91 )
92 
93