Searched refs:logging_lambda (Results 1 – 2 of 2) sorted by relevance
/tools/test/connectivity/acts/framework/acts/ |
D | logger.py | 289 def __init__(self, logging_lambda): argument 290 self.logging_lambda = logging_lambda 294 return self.logging_lambda(msg), kwargs 297 def create_logger(logging_lambda=lambda message: message): argument 304 return tracelogger.TraceLogger(LoggerAdapter(logging_lambda)) 316 def logging_lambda(msg): function 319 return create_logger(logging_lambda)
|
D | tracelogger.py | 41 def _log_with(self, logging_lambda, trace_level, msg, *args, **kwargs): argument 43 logging_lambda('%s %s' % (msg, trace_info), *args, **kwargs)
|