From 321b6dd28e30065ac7f09541a6563a0e9e8f4cd8 Mon Sep 17 00:00:00 2001 From: calvin Date: Sun, 26 Mar 2023 23:24:26 +0800 Subject: [PATCH] edit --- gittag.sh | 8 ++++++++ spoor.go | 7 +++++++ 2 files changed, 15 insertions(+) create mode 100644 gittag.sh diff --git a/gittag.sh b/gittag.sh new file mode 100644 index 0000000..5f8b157 --- /dev/null +++ b/gittag.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + + + +git tag $1 # 版本名称 + + +git push origin $1 diff --git a/spoor.go b/spoor.go index edd74f1..281c963 100644 --- a/spoor.go +++ b/spoor.go @@ -45,3 +45,10 @@ func (l *Spoor) CheckLevel(level Level) bool { } return true } + +type LoggingSetting struct { + Dir string + Level int + Prefix string + WriterOption Option +}