[PATCH v4 3/9] dts: add basic logging facility
Juraj Linkeš
juraj.linkes at pantheon.tech
Wed Sep 14 14:51:11 CEST 2022
> -----Original Message-----
> From: Honnappa Nagarahalli <Honnappa.Nagarahalli at arm.com>
> Sent: Wednesday, September 14, 2022 1:31 AM
> To: Juraj Linkeš <juraj.linkes at pantheon.tech>; Bruce Richardson
> <bruce.richardson at intel.com>
> Cc: thomas at monjalon.net; david.marchand at redhat.com;
> ronan.randles at intel.com; ohilyard at iol.unh.edu; lijuan.tu at intel.com;
> dev at dpdk.org; nd <nd at arm.com>; nd <nd at arm.com>
> Subject: RE: [PATCH v4 3/9] dts: add basic logging facility
>
> <snip>
> > >
> > > > ---
> > > > dts/framework/__init__.py | 3 +
> > > > dts/framework/logger.py | 124
> > > ++++++++++++++++++++++++++++++++++++++
> > > > 2 files changed, 127 insertions(+) create mode 100644
> > > > dts/framework/__init__.py create mode 100644
> > > > dts/framework/logger.py
> > > >
> > > > diff --git a/dts/framework/__init__.py b/dts/framework/__init__.py
> > > > new file mode 100644 index 0000000000..3c30bccf43
> > > > --- /dev/null
> > > > +++ b/dts/framework/__init__.py
> > > > @@ -0,0 +1,3 @@
> > > > +# SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2022
> > > > +PANTHEON.tech s.r.o.
> > > > +#
> > > > diff --git a/dts/framework/logger.py b/dts/framework/logger.py new
> > > > file mode 100644 index 0000000000..920ce0fb15
> > > > --- /dev/null
> > > > +++ b/dts/framework/logger.py
> > > > @@ -0,0 +1,124 @@
> > > > +# SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2010-2014
> > > > +Intel Corporation # Copyright(c) 2022 PANTHEON.tech s.r.o.
> > > > +# Copyright(c) 2022 University of New Hampshire #
> > > > +
> > > > +import logging
> > > > +import os.path
> > > > +from typing import TypedDict
> > > > +
> > > > +"""
> > > > +DTS logger module with several log level. DTS framework and
> > > > +TestSuite log will saved into different log files.
> Nit "DTS logger module with several log levels. DTS framework and TestSuite
> logs are saved in different log files."
>
Thanks, these nitpicks are important - there are a lot comments from the original authors that need ironing out. Although I this one particular example was written be either me or Owen. :-)
> <snip>
More information about the dev
mailing list