LSSTApplications  18.0.0+106,18.0.0+50,19.0.0,19.0.0+1,19.0.0+10,19.0.0+11,19.0.0+13,19.0.0+17,19.0.0+2,19.0.0-1-g20d9b18+6,19.0.0-1-g425ff20,19.0.0-1-g5549ca4,19.0.0-1-g580fafe+6,19.0.0-1-g6fe20d0+1,19.0.0-1-g7011481+9,19.0.0-1-g8c57eb9+6,19.0.0-1-gb5175dc+11,19.0.0-1-gdc0e4a7+9,19.0.0-1-ge272bc4+6,19.0.0-1-ge3aa853,19.0.0-10-g448f008b,19.0.0-12-g6990b2c,19.0.0-2-g0d9f9cd+11,19.0.0-2-g3d9e4fb2+11,19.0.0-2-g5037de4,19.0.0-2-gb96a1c4+3,19.0.0-2-gd955cfd+15,19.0.0-3-g2d13df8,19.0.0-3-g6f3c7dc,19.0.0-4-g725f80e+11,19.0.0-4-ga671dab3b+1,19.0.0-4-gad373c5+3,19.0.0-5-ga2acb9c+2,19.0.0-5-gfe96e6c+2,w.2020.01
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 138 of file logContinued.py.

138 def configure(*args):
139  Log.configure(*args)
140 
141 

◆ configure_prop()

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

Definition at line 142 of file logContinued.py.

142 def configure_prop(properties):
143  Log.configure_prop(properties)
144 
145 
def configure_prop(properties)

◆ debug()

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

Definition at line 186 of file logContinued.py.

186 def debug(fmt, *args):
187  Log.getDefaultLogger()._log(DEBUG, False, fmt, *args)
188 
189 

◆ debugf()

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

Definition at line 218 of file logContinued.py.

218 def debugf(fmt, *args, **kwargs):
219  Log.getDefaultLogger()._log(DEBUG, True, fmt, *args, **kwargs)
220 
221 
def debugf(fmt, args, kwargs)

◆ doNotUsePythonLogging()

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

Definition at line 246 of file logContinued.py.

247  Log.doNotUsePythonLogging()
248 
249 

◆ error()

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

Definition at line 202 of file logContinued.py.

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

◆ errorf()

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

Definition at line 230 of file logContinued.py.

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

◆ fatal()

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

Definition at line 206 of file logContinued.py.

206 def fatal(fmt, *args):
207  Log.getDefaultLogger()._log(FATAL, False, fmt, *args)
208 
209 

◆ fatalf()

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

Definition at line 234 of file logContinued.py.

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

◆ getDefaultLogger()

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

Definition at line 146 of file logContinued.py.

146 def getDefaultLogger():
147  return Log.getDefaultLogger()
148 
149 

◆ getLevel()

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

Definition at line 170 of file logContinued.py.

170 def getLevel(loggername):
171  Log.getLogger(loggername).getLevel()
172 
173 
def getLevel(loggername)

◆ getLogger()

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

Definition at line 150 of file logContinued.py.

150 def getLogger(loggername):
151  return Log.getLogger(loggername)
152 
153 
def getLogger(loggername)

◆ info()

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

Definition at line 190 of file logContinued.py.

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

◆ infof()

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

Definition at line 222 of file logContinued.py.

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

◆ isEnabledFor()

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

Definition at line 174 of file logContinued.py.

174 def isEnabledFor(logger, level):
175  Log.getLogger(logger).isEnabledFor(level)
176 
177 
def isEnabledFor(logger, level)

◆ log()

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

Definition at line 178 of file logContinued.py.

178 def log(loggername, level, fmt, *args, **kwargs):
179  Log.getLogger(loggername)._log(level, False, fmt, *args)
180 
181 
def log(loggername, level, fmt, args, kwargs)

◆ logf()

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

Definition at line 210 of file logContinued.py.

210 def logf(loggername, level, fmt, *args, **kwargs):
211  Log.getLogger(loggername)._log(level, True, fmt, *args, **kwargs)
212 
213 
def logf(loggername, level, fmt, args, kwargs)

◆ lwpID()

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

Definition at line 238 of file logContinued.py.

238 def lwpID():
239  return Log.lwpID
240 
241 

◆ MDC()

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

Definition at line 154 of file logContinued.py.

154 def MDC(key, value):
155  Log.MDC(key, str(value))
156 
157 

◆ MDCRegisterInit()

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

Definition at line 162 of file logContinued.py.

162 def MDCRegisterInit(func):
163  Log.MDCRegisterInit(func)
164 
165 

◆ MDCRemove()

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

Definition at line 158 of file logContinued.py.

158 def MDCRemove(key):
159  Log.MDCRemove(key)
160 
161 

◆ setLevel()

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

Definition at line 166 of file logContinued.py.

166 def setLevel(loggername, level):
167  Log.getLogger(loggername).setLevel(level)
168 
169 
def setLevel(loggername, level)

◆ trace()

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

Definition at line 182 of file logContinued.py.

182 def trace(fmt, *args):
183  Log.getDefaultLogger()._log(TRACE, False, fmt, *args)
184 
185 

◆ tracef()

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

Definition at line 214 of file logContinued.py.

214 def tracef(fmt, *args, **kwargs):
215  Log.getDefaultLogger()._log(TRACE, True, fmt, *args, **kwargs)
216 
217 
def tracef(fmt, args, kwargs)

◆ usePythonLogging()

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

Definition at line 242 of file logContinued.py.

242 def usePythonLogging():
243  Log.usePythonLogging()
244 
245 

◆ warn()

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

Definition at line 194 of file logContinued.py.

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

◆ warnf()

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

Definition at line 226 of file logContinued.py.

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

◆ warning()

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

Definition at line 198 of file logContinued.py.

198 def warning(fmt, *args):
199  warn(fmt, *args)
200 
201 

Variable Documentation

◆ DEBUG

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

Definition at line 34 of file logContinued.py.

◆ ERROR

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

Definition at line 37 of file logContinued.py.

◆ FATAL

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

Definition at line 38 of file logContinued.py.

◆ INFO

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

Definition at line 35 of file logContinued.py.

◆ TRACE

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

Definition at line 33 of file logContinued.py.

◆ WARN

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

Definition at line 36 of file logContinued.py.