From 8e15d802865ed57db0018c15ea5559c8bd44c01f Mon Sep 17 00:00:00 2001 From: Keuin Date: Wed, 7 Sep 2022 02:48:46 +0800 Subject: First working version. Just a POC. --- bilibili/logging.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 bilibili/logging.go (limited to 'bilibili/logging.go') diff --git a/bilibili/logging.go b/bilibili/logging.go new file mode 100644 index 0000000..a0b9b8e --- /dev/null +++ b/bilibili/logging.go @@ -0,0 +1,13 @@ +/* +This file defines the common struct of logger pointers used in modules of this package. +*/ +package bilibili + +import "log" + +type loggerCommon struct { + debug *log.Logger + info *log.Logger + warn *log.Logger + error *log.Logger +} -- cgit v1.2.3