pylibfreenect2.libfreenect2.createConsoleLogger

pylibfreenect2.libfreenect2.createConsoleLogger()

Same as Logger* libfreenect2::createConsoleLogger(Level level)

Parameters:
level : pylibfreenect2.LoggerLevel

Logger level

Returns:
logger : Logger

Allocated logger

Examples

logger = pylibfreenect2.createConsoleLogger(
    pylibfreenect2.LoggerLevel.Debug)