1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/xuesongtao-spellsql

Клонировать/Скачать
log_test.go 335
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
xuesongtao Отправлено 07.10.2023 18:46 9c4c3f1
package spellsql
import (
"context"
"testing"
)
func TestCallFile(t *testing.T) {
l := NewLogger()
t.Log(l.callInfo(1))
t.Log(l.getPrefix(2))
}
func TestDemo(t *testing.T) {
sLog.Info(context.Background(), "hello info")
sLog.Warning(context.Background(), "hello warning")
sLog.Error(context.Background(), "hello error")
}

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/xuesongtao-spellsql.git
git@api.gitlife.ru:oschina-mirror/xuesongtao-spellsql.git
oschina-mirror
xuesongtao-spellsql
xuesongtao-spellsql
master