pylab_ml.base_instrument.choicelogger

choicelogger()[source]

Chooses the logger based on command line arguments. If ‘–labml’ is found in the command line arguments, it uses the specified logger; otherwise, it defaults to a standard logger.

Returns:

The configured logger instance.

Return type:

logging.Logger