LSSTApplications  17.0+10,17.0+51,17.0+87,18.0.0+10,18.0.0+15,18.0.0+33,18.0.0+4,18.0.0+6,18.0.0-2-ge43143a+6,18.1.0-1-g0001055+2,18.1.0-1-g0896a44+9,18.1.0-1-g1349e88+8,18.1.0-1-g2505f39+6,18.1.0-1-g380d4d4+8,18.1.0-1-g5e4b7ea+2,18.1.0-1-g7e8fceb,18.1.0-1-g85f8cd4+6,18.1.0-1-g9a6769a+3,18.1.0-1-ga1a4c1a+5,18.1.0-1-gc037db8+2,18.1.0-1-gd55f500+3,18.1.0-1-ge10677a+6,18.1.0-10-g73b8679e+11,18.1.0-11-g311e899+7,18.1.0-12-gc95f69a+7,18.1.0-13-g451e75588,18.1.0-2-g31c43f9+6,18.1.0-2-g9c63283+8,18.1.0-2-gdf0b915+8,18.1.0-2-gf03bb23+2,18.1.0-3-g2e29e3d+9,18.1.0-3-g52aa583+3,18.1.0-3-g8f4a2b1,18.1.0-3-g9cb968e+7,18.1.0-4-gd2e8982+9,18.1.0-5-g510c42a+7,18.1.0-5-gaeab27e+8,18.1.0-6-gdda7f3e+10,18.1.0-8-g4084bf03,w.2019.33
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.