yfpy.logger.get_logger

get_logger(name, level=20)[source]

Get custom YFPY logger object.

Parameters
  • name (str) – The module name for the logger.

  • level (int) – The log level for the logger. Default level set to INFO.

Returns

A Python Logger object with custom configuration and formatting.

Return type

Logger