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 拥剑公子 阅读(134) 评论(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 拥剑公子 阅读(161) 评论(0) 推荐(0) 编辑

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

posted @ 2021-04-13 19:11 拥剑公子 阅读(162) 评论(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 拥剑公子 阅读(160) 评论(0) 推荐(0) 编辑

导航

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8
点击右上角即可分享
微信分享提示