04 2021 档案

python日志库loguru
摘要:import contextlib from loguru import logger APPDATA = os.getenv('APPDATA') log_filepath = APPDATA + '\\your_app\\Logs\\mylog.log' logger.remove() logg 阅读全文

posted @ 2021-04-23 15:22 拥剑 阅读(164) 评论(0) 推荐(0)

node.js日志封装
摘要:var log4js = require("log4js"); function init(_log_filepath, _log_filename) { let logfile = _log_filepath + "/" + _log_filename + ".log"; let logfile_ 阅读全文

posted @ 2021-04-23 09:12 拥剑 阅读(183) 评论(0) 推荐(0)

node.js 日志库
摘要:比较强大的有:winston, log4js, bunyan, 小众的:npmlog , console-stamp 阅读全文

posted @ 2021-04-13 19:11 拥剑 阅读(190) 评论(0) 推荐(0)

jupyter c++/python/js/ts
摘要:jupyter notebook和juypter lab 对windows c++ kernel都支持的不好: https://github.com/jupyter/jupyter/wiki/Jupyter-kernels 如果要用(cling 或者xeus-cling),只能选中*nix平台, 测 阅读全文

posted @ 2021-04-01 20:55 拥剑 阅读(230) 评论(0) 推荐(0)

导航