网站首页 站内搜索

搜索结果

查询Tags标签: setFormatter,共有 2条记录
  • python日志

    import loggingdef get_logger(filename): formatter = logging.Formatter( "[%(asctime)s] %(message)s",datefmt=%m/%d%I:%M:%S) logger = logging.getLogger() logger.setLevel(logging.INFO) fh = logging.FileHandler(filename,"w") …

    2021/11/17 22:13:47 人评论 次浏览
  • python日志

    import loggingdef get_logger(filename): formatter = logging.Formatter( "[%(asctime)s] %(message)s",datefmt=%m/%d%I:%M:%S) logger = logging.getLogger() logger.setLevel(logging.INFO) fh = logging.FileHandler(filename,"w") …

    2021/11/17 22:13:47 人评论 次浏览
扫一扫关注最新编程教程