LSSTApplications  20.0.0
LSSTDataManagementBasePackage
Classes | Functions | Variables
lsst.log.log.logContinued Namespace Reference

Classes

class  LevelTranslator
 
class  Log
 
class  LogHandler
 
class  UsePythonLogging
 

Functions

def configure (*args)
 
def configure_prop (properties)
 
def getDefaultLogger ()
 
def getLogger (loggername)
 
def MDC (key, value)
 
def MDCRemove (key)
 
def MDCRegisterInit (func)
 
def setLevel (loggername, level)
 
def getLevel (loggername)
 
def isEnabledFor (logger, level)
 
def log (loggername, level, fmt, *args, **kwargs)
 
def trace (fmt, *args)
 
def debug (fmt, *args)
 
def info (fmt, *args)
 
def warn (fmt, *args)
 
def warning (fmt, *args)
 
def error (fmt, *args)
 
def fatal (fmt, *args)
 
def logf (loggername, level, fmt, *args, **kwargs)
 
def tracef (fmt, *args, **kwargs)
 
def debugf (fmt, *args, **kwargs)
 
def infof (fmt, *args, **kwargs)
 
def warnf (fmt, *args, **kwargs)
 
def errorf (fmt, *args, **kwargs)
 
def fatalf (fmt, *args, **kwargs)
 
def lwpID ()
 
def usePythonLogging ()
 
def doNotUsePythonLogging ()
 

Variables

int TRACE = 5000
 
int DEBUG = 10000
 
int INFO = 20000
 
int WARN = 30000
 
int ERROR = 40000
 
int FATAL = 50000
 

Function Documentation

◆ configure()

def lsst.log.log.logContinued.configure ( args)

Definition at line 146 of file logContinued.py.

146 def configure(*args):
147  Log.configure(*args)
148 
149 

◆ configure_prop()

def lsst.log.log.logContinued.configure_prop (   properties)

Definition at line 150 of file logContinued.py.

150 def configure_prop(properties):
151  Log.configure_prop(properties)
152 
153 

◆ debug()

def lsst.log.log.logContinued.debug (   fmt,
args 
)

Definition at line 194 of file logContinued.py.

194 def debug(fmt, *args):
195  Log.getDefaultLogger()._log(DEBUG, False, fmt, *args)
196 
197 

◆ debugf()

def lsst.log.log.logContinued.debugf (   fmt,
args,
**  kwargs 
)

Definition at line 226 of file logContinued.py.

226 def debugf(fmt, *args, **kwargs):
227  Log.getDefaultLogger()._log(DEBUG, True, fmt, *args, **kwargs)
228 
229 

◆ doNotUsePythonLogging()

def lsst.log.log.logContinued.doNotUsePythonLogging ( )

Definition at line 254 of file logContinued.py.

255  Log.doNotUsePythonLogging()
256 
257 

◆ error()

def lsst.log.log.logContinued.error (   fmt,
args 
)

Definition at line 210 of file logContinued.py.

210 def error(fmt, *args):
211  Log.getDefaultLogger()._log(ERROR, False, fmt, *args)
212 
213 

◆ errorf()

def lsst.log.log.logContinued.errorf (   fmt,
args,
**  kwargs 
)

Definition at line 238 of file logContinued.py.

238 def errorf(fmt, *args, **kwargs):
239  Log.getDefaultLogger()._log(ERROR, True, fmt, *args, **kwargs)
240 
241 

◆ fatal()

def lsst.log.log.logContinued.fatal (   fmt,
args 
)

Definition at line 214 of file logContinued.py.

214 def fatal(fmt, *args):
215  Log.getDefaultLogger()._log(FATAL, False, fmt, *args)
216 
217 

◆ fatalf()

def lsst.log.log.logContinued.fatalf (   fmt,
args,
**  kwargs 
)

Definition at line 242 of file logContinued.py.

242 def fatalf(fmt, *args, **kwargs):
243  Log.getDefaultLogger()._log(FATAL, True, fmt, *args, **kwargs)
244 
245 

◆ getDefaultLogger()

def lsst.log.log.logContinued.getDefaultLogger ( )

Definition at line 154 of file logContinued.py.

154 def getDefaultLogger():
155  return Log.getDefaultLogger()
156 
157 

◆ getLevel()

def lsst.log.log.logContinued.getLevel (   loggername)

Definition at line 178 of file logContinued.py.

178 def getLevel(loggername):
179  Log.getLogger(loggername).getLevel()
180 
181 

◆ getLogger()

def lsst.log.log.logContinued.getLogger (   loggername)

Definition at line 158 of file logContinued.py.

158 def getLogger(loggername):
159  return Log.getLogger(loggername)
160 
161 

◆ info()

def lsst.log.log.logContinued.info (   fmt,
args 
)

Definition at line 198 of file logContinued.py.

198 def info(fmt, *args):
199  Log.getDefaultLogger()._log(INFO, False, fmt, *args)
200 
201 

◆ infof()

def lsst.log.log.logContinued.infof (   fmt,
args,
**  kwargs 
)

Definition at line 230 of file logContinued.py.

230 def infof(fmt, *args, **kwargs):
231  Log.getDefaultLogger()._log(INFO, True, fmt, *args, **kwargs)
232 
233 

◆ isEnabledFor()

def lsst.log.log.logContinued.isEnabledFor (   logger,
  level 
)

Definition at line 182 of file logContinued.py.

182 def isEnabledFor(logger, level):
183  Log.getLogger(logger).isEnabledFor(level)
184 
185 

◆ log()

def lsst.log.log.logContinued.log (   loggername,
  level,
  fmt,
args,
**  kwargs 
)

Definition at line 186 of file logContinued.py.

186 def log(loggername, level, fmt, *args, **kwargs):
187  Log.getLogger(loggername)._log(level, False, fmt, *args)
188 
189 

◆ logf()

def lsst.log.log.logContinued.logf (   loggername,
  level,
  fmt,
args,
**  kwargs 
)

Definition at line 218 of file logContinued.py.

218 def logf(loggername, level, fmt, *args, **kwargs):
219  Log.getLogger(loggername)._log(level, True, fmt, *args, **kwargs)
220 
221 

◆ lwpID()

def lsst.log.log.logContinued.lwpID ( )

Definition at line 246 of file logContinued.py.

246 def lwpID():
247  return Log.lwpID
248 
249 

◆ MDC()

def lsst.log.log.logContinued.MDC (   key,
  value 
)

Definition at line 162 of file logContinued.py.

162 def MDC(key, value):
163  Log.MDC(key, str(value))
164 
165 

◆ MDCRegisterInit()

def lsst.log.log.logContinued.MDCRegisterInit (   func)

Definition at line 170 of file logContinued.py.

170 def MDCRegisterInit(func):
171  Log.MDCRegisterInit(func)
172 
173 

◆ MDCRemove()

def lsst.log.log.logContinued.MDCRemove (   key)

Definition at line 166 of file logContinued.py.

166 def MDCRemove(key):
167  Log.MDCRemove(key)
168 
169 

◆ setLevel()

def lsst.log.log.logContinued.setLevel (   loggername,
  level 
)

Definition at line 174 of file logContinued.py.

174 def setLevel(loggername, level):
175  Log.getLogger(loggername).setLevel(level)
176 
177 

◆ trace()

def lsst.log.log.logContinued.trace (   fmt,
args 
)

Definition at line 190 of file logContinued.py.

190 def trace(fmt, *args):
191  Log.getDefaultLogger()._log(TRACE, False, fmt, *args)
192 
193 

◆ tracef()

def lsst.log.log.logContinued.tracef (   fmt,
args,
**  kwargs 
)

Definition at line 222 of file logContinued.py.

222 def tracef(fmt, *args, **kwargs):
223  Log.getDefaultLogger()._log(TRACE, True, fmt, *args, **kwargs)
224 
225 

◆ usePythonLogging()

def lsst.log.log.logContinued.usePythonLogging ( )

Definition at line 250 of file logContinued.py.

250 def usePythonLogging():
251  Log.usePythonLogging()
252 
253 

◆ warn()

def lsst.log.log.logContinued.warn (   fmt,
args 
)

Definition at line 202 of file logContinued.py.

202 def warn(fmt, *args):
203  Log.getDefaultLogger()._log(WARN, False, fmt, *args)
204 
205 

◆ warnf()

def lsst.log.log.logContinued.warnf (   fmt,
args,
**  kwargs 
)

Definition at line 234 of file logContinued.py.

234 def warnf(fmt, *args, **kwargs):
235  Log.getDefaultLogger()._log(WARN, True, fmt, *args, **kwargs)
236 
237 

◆ warning()

def lsst.log.log.logContinued.warning (   fmt,
args 
)

Definition at line 206 of file logContinued.py.

206 def warning(fmt, *args):
207  warn(fmt, *args)
208 
209 

Variable Documentation

◆ DEBUG

int lsst.log.log.logContinued.DEBUG = 10000

Definition at line 42 of file logContinued.py.

◆ ERROR

int lsst.log.log.logContinued.ERROR = 40000

Definition at line 45 of file logContinued.py.

◆ FATAL

int lsst.log.log.logContinued.FATAL = 50000

Definition at line 46 of file logContinued.py.

◆ INFO

int lsst.log.log.logContinued.INFO = 20000

Definition at line 43 of file logContinued.py.

◆ TRACE

int lsst.log.log.logContinued.TRACE = 5000

Definition at line 41 of file logContinued.py.

◆ WARN

int lsst.log.log.logContinued.WARN = 30000

Definition at line 44 of file logContinued.py.

lsst::log.log.logContinued.warnf
def warnf(fmt, *args, **kwargs)
Definition: logContinued.py:234
lsst::log.log.logContinued.logf
def logf(loggername, level, fmt, *args, **kwargs)
Definition: logContinued.py:218
lsst::log.log.logContinued.infof
def infof(fmt, *args, **kwargs)
Definition: logContinued.py:230
lsst::log.log.logContinued.warn
def warn(fmt, *args)
Definition: logContinued.py:202
lsst::log.log.logContinued.info
def info(fmt, *args)
Definition: logContinued.py:198
lsst::log.log.logContinued.error
def error(fmt, *args)
Definition: logContinued.py:210
lsst::log.log.logContinued.debugf
def debugf(fmt, *args, **kwargs)
Definition: logContinued.py:226
lsst::log.log.logContinued.usePythonLogging
def usePythonLogging()
Definition: logContinued.py:250
lsst::log.log.logContinued.MDCRemove
def MDCRemove(key)
Definition: logContinued.py:166
lsst::log.log.logContinued.getLevel
def getLevel(loggername)
Definition: logContinued.py:178
lsst::log.log.logContinued.tracef
def tracef(fmt, *args, **kwargs)
Definition: logContinued.py:222
lsst::log.log.logContinued.lwpID
def lwpID()
Definition: logContinued.py:246
lsst::log.log.logContinued.configure
def configure(*args)
Definition: logContinued.py:146
lsst::log.log.logContinued.fatal
def fatal(fmt, *args)
Definition: logContinued.py:214
lsst::log.log.logContinued.errorf
def errorf(fmt, *args, **kwargs)
Definition: logContinued.py:238
lsst::log.log.logContinued.MDC
def MDC(key, value)
Definition: logContinued.py:162
lsst::log.log.logContinued.warning
def warning(fmt, *args)
Definition: logContinued.py:206
lsst::log.log.logContinued.configure_prop
def configure_prop(properties)
Definition: logContinued.py:150
lsst::log.log.logContinued.trace
def trace(fmt, *args)
Definition: logContinued.py:190
lsst::log.log.logContinued.debug
def debug(fmt, *args)
Definition: logContinued.py:194
lsst::log.log.logContinued.getDefaultLogger
def getDefaultLogger()
Definition: logContinued.py:154
lsst::log.log.logContinued.fatalf
def fatalf(fmt, *args, **kwargs)
Definition: logContinued.py:242
lsst::log.log.logContinued.isEnabledFor
def isEnabledFor(logger, level)
Definition: logContinued.py:182
lsst::log.log.logContinued.doNotUsePythonLogging
def doNotUsePythonLogging()
Definition: logContinued.py:254
lsst::log.log.logContinued.getLogger
def getLogger(loggername)
Definition: logContinued.py:158
lsst::log.log.logContinued.log
def log(loggername, level, fmt, *args, **kwargs)
Definition: logContinued.py:186
lsst::log.log.logContinued.setLevel
def setLevel(loggername, level)
Definition: logContinued.py:174
lsst::log.log.logContinued.MDCRegisterInit
def MDCRegisterInit(func)
Definition: logContinued.py:170