p4lang / tdi

Table-Driven Interface (TDI) for a P4-programmable backend device.
Apache License 2.0
40 stars 23 forks source link

Enable the python logging and set default level to ERROR. #65

Closed weiqiand closed 2 years ago

weiqiand commented 2 years ago

If want to DEBUG level, change the logging.basicConfig(level=logging.DEBUG)

weiqiand commented 2 years ago

This enhancement only address the newly debug print statement on TDI now. Yes. We can do that with this python logging frameworks for all the errors. thanks, Weiqian