2 Star 4 Fork 0

kazhafeizhale / log4ahk

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

log4ahk

description

  • print log to console
  • print log to file
  • print log to editor (vscode ...)

install

  • Drag lib from the V1 or V2 file directory to the interpreter directory (C:\Program Files\AutoHotkey)

example

#include <log4ahk>

s1 := "100"
s2 := 100
s3 := "autohotkey"
s4 := {key : "nice"}
;info warn critical err
log.info(s1, s2, s3, s4)
log.warn(s1, s2, s3, s4)
log.err(s1, s2, s3, s4)
log.critical(s1, s2, s3, s4)

;v1
;hotkey,#c, log4ahk_switch_console
;v2
;hotkey("#c", log4ahk_switch_console)

result

log4ahk

settings

  • 如果要输出到vscode 的终端 log.is_use_editor := true
  • 如果要输出到文件 log.is_out_file := true
  • 如果关闭终端输出 log.is_out_console := false

空文件

简介

ahk log库 展开 收起
C++ 等 3 种语言
取消

发行版 (4)

全部

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/kazhafeizhale/log4ahk.git
git@gitee.com:kazhafeizhale/log4ahk.git
kazhafeizhale
log4ahk
log4ahk
master

搜索帮助