LSST Applications  21.0.0+04719a4bac,21.0.0-1-ga51b5d4+f5e6047307,21.0.0-11-g2b59f77+a9c1acf22d,21.0.0-11-ga42c5b2+86977b0b17,21.0.0-12-gf4ce030+76814010d2,21.0.0-13-g1721dae+760e7a6536,21.0.0-13-g3a573fe+768d78a30a,21.0.0-15-g5a7caf0+f21cbc5713,21.0.0-16-g0fb55c1+b60e2d390c,21.0.0-19-g4cded4ca+71a93a33c0,21.0.0-2-g103fe59+bb20972958,21.0.0-2-g45278ab+04719a4bac,21.0.0-2-g5242d73+3ad5d60fb1,21.0.0-2-g7f82c8f+8babb168e8,21.0.0-2-g8f08a60+06509c8b61,21.0.0-2-g8faa9b5+616205b9df,21.0.0-2-ga326454+8babb168e8,21.0.0-2-gde069b7+5e4aea9c2f,21.0.0-2-gecfae73+1d3a86e577,21.0.0-2-gfc62afb+3ad5d60fb1,21.0.0-25-g1d57be3cd+e73869a214,21.0.0-3-g357aad2+ed88757d29,21.0.0-3-g4a4ce7f+3ad5d60fb1,21.0.0-3-g4be5c26+3ad5d60fb1,21.0.0-3-g65f322c+e0b24896a3,21.0.0-3-g7d9da8d+616205b9df,21.0.0-3-ge02ed75+a9c1acf22d,21.0.0-4-g591bb35+a9c1acf22d,21.0.0-4-g65b4814+b60e2d390c,21.0.0-4-gccdca77+0de219a2bc,21.0.0-4-ge8a399c+6c55c39e83,21.0.0-5-gd00fb1e+05fce91b99,21.0.0-6-gc675373+3ad5d60fb1,21.0.0-64-g1122c245+4fb2b8f86e,21.0.0-7-g04766d7+cd19d05db2,21.0.0-7-gdf92d54+04719a4bac,21.0.0-8-g5674e7b+d1bd76f71f,master-gac4afde19b+a9c1acf22d,w.2021.13
LSST Data Management Base Package
Classes | Functions | Variables
lsst.log.log.logContinued Namespace Reference

Classes

class  Log
 
class  UsePythonLogging
 
class  LevelTranslator
 
class  LogHandler
 

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 
def configure_prop(properties)

◆ debug()

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

Definition at line 197 of file logContinued.py.

197 def debug(fmt, *args):
198  Log.getDefaultLogger()._log(DEBUG, False, fmt, *args)
199 
200 

◆ debugf()

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

Definition at line 229 of file logContinued.py.

229 def debugf(fmt, *args, **kwargs):
230  Log.getDefaultLogger()._log(DEBUG, True, fmt, *args, **kwargs)
231 
232 
def debugf(fmt, *args, **kwargs)

◆ doNotUsePythonLogging()

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

Definition at line 261 of file logContinued.py.

262  Log.doNotUsePythonLogging()
263 
264 

◆ error()

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

Definition at line 213 of file logContinued.py.

213 def error(fmt, *args):
214  Log.getDefaultLogger()._log(ERROR, False, fmt, *args)
215 
216 

◆ errorf()

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

Definition at line 241 of file logContinued.py.

241 def errorf(fmt, *args, **kwargs):
242  Log.getDefaultLogger()._log(ERROR, True, fmt, *args, **kwargs)
243 
244 
def errorf(fmt, *args, **kwargs)

◆ fatal()

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

Definition at line 217 of file logContinued.py.

217 def fatal(fmt, *args):
218  Log.getDefaultLogger()._log(FATAL, False, fmt, *args)
219 
220 

◆ fatalf()

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

Definition at line 245 of file logContinued.py.

245 def fatalf(fmt, *args, **kwargs):
246  Log.getDefaultLogger()._log(FATAL, True, fmt, *args, **kwargs)
247 
248 
def fatalf(fmt, *args, **kwargs)

◆ 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 
def getLevel(loggername)

◆ 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 
def getLogger(loggername)

◆ info()

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

Definition at line 201 of file logContinued.py.

201 def info(fmt, *args):
202  Log.getDefaultLogger()._log(INFO, False, fmt, *args)
203 
204 

◆ infof()

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

Definition at line 233 of file logContinued.py.

233 def infof(fmt, *args, **kwargs):
234  Log.getDefaultLogger()._log(INFO, True, fmt, *args, **kwargs)
235 
236 
def infof(fmt, *args, **kwargs)

◆ 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 
186 # This will cause a warning in Sphinx documentation due to confusion between
187 # Log and log. https://github.com/astropy/sphinx-automodapi/issues/73 (but
188 # note that this does not seem to be Mac-only).
def isEnabledFor(logger, level)

◆ log()

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

Definition at line 189 of file logContinued.py.

189 def log(loggername, level, fmt, *args, **kwargs):
190  Log.getLogger(loggername)._log(level, False, fmt, *args)
191 
192 
def log(loggername, level, fmt, *args, **kwargs)

◆ logf()

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

Definition at line 221 of file logContinued.py.

221 def logf(loggername, level, fmt, *args, **kwargs):
222  Log.getLogger(loggername)._log(level, True, fmt, *args, **kwargs)
223 
224 
def logf(loggername, level, fmt, *args, **kwargs)

◆ lwpID()

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

Definition at line 249 of file logContinued.py.

249 def lwpID():
250  return Log.lwpID
251 
252 
253 # This will cause a warning in Sphinx documentation due to confusion between
254 # UsePythonLogging and usePythonLogging.
255 # https://github.com/astropy/sphinx-automodapi/issues/73 (but note that this
256 # does not seem to be Mac-only).

◆ 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 
def setLevel(loggername, level)

◆ trace()

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

Definition at line 193 of file logContinued.py.

193 def trace(fmt, *args):
194  Log.getDefaultLogger()._log(TRACE, False, fmt, *args)
195 
196 

◆ tracef()

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

Definition at line 225 of file logContinued.py.

225 def tracef(fmt, *args, **kwargs):
226  Log.getDefaultLogger()._log(TRACE, True, fmt, *args, **kwargs)
227 
228 
def tracef(fmt, *args, **kwargs)

◆ usePythonLogging()

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

Definition at line 257 of file logContinued.py.

257 def usePythonLogging():
258  Log.usePythonLogging()
259 
260 

◆ warn()

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

Definition at line 205 of file logContinued.py.

205 def warn(fmt, *args):
206  Log.getDefaultLogger()._log(WARN, False, fmt, *args)
207 
208 

◆ warnf()

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

Definition at line 237 of file logContinued.py.

237 def warnf(fmt, *args, **kwargs):
238  Log.getDefaultLogger()._log(WARN, True, fmt, *args, **kwargs)
239 
240 
def warnf(fmt, *args, **kwargs)

◆ warning()

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

Definition at line 209 of file logContinued.py.

209 def warning(fmt, *args):
210  warn(fmt, *args)
211 
212 

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.