podpac.utils.create_logfile¶
Convience method to create a log file that only logs podpac related messages
- param filename
Filename of the log file. Defaults to
podpac.log
- type filename
str, optional
- param level
Log level to use (0 - 50). Defaults to
logging.INFO
(20) See https://docs.python.org/3/library/logging.html#levels- type level
int, optional
- param format
String format for log messages. See https://docs.python.org/3/library/logging.html#logrecord-attributes for creating format. Default is: format=’[%(asctime)s] %(name)s.%(funcName)s[%(lineno)d] - %(levelname)s - %(message)s’
- type format
str, optional
- returns
Returns the constructed logger, handler, and formatter for the log file
- rtype
logging.Logger, logging.Handler, logging.Formatter