paddleaudio.utils.log module

class paddleaudio.utils.log.Logger(name: Optional[str] = None)[source]

Bases: object

Deafult logger in PaddleAudio Args:

name(str) : Logger name, default is 'PaddleAudio'

Attributes:
is_enable

Methods

__call__(log_level, msg)

Call self as a function.

processing(msg[, interval])

Continuously print a progress bar with rotating special effects. Args: msg(str): Message to be printed. interval(float): Rotation interval. Default to 0.1.

disable

enable

use_terminator

disable()[source]
enable()[source]
property is_enable: bool
processing(msg: str, interval: float = 0.1)[source]

Continuously print a progress bar with rotating special effects. Args:

msg(str): Message to be printed. interval(float): Rotation interval. Default to 0.1.

use_terminator(terminator: str)[source]