samna.util.logging#

Submodules#

Module content#

class samna.util.logging.Level#

Bases: pybind11_object

Members:

Trace

Debug

Info

Warn

Err

Critical

Off

N_levels

property name#
class samna.util.logging.SinkType#

Bases: pybind11_object

Members:

FileSink

ConsoleSink

ConsoleErrSink

property name#
samna.util.logging.get_logger_sinks() List[samna.util.logging.Sink]#

Get the logger sinks.

Returns:

A list of logger sinks.

samna.util.logging.set_logger_sinks(arg0: List[samna.util.logging.Sink]) None#

Set the logger sinks.

Parameters:

sinks – A list of logger sinks.