refactor: create logx package (#584)

This commit is contained in:
Bo-Yi Wu
2021-07-13 16:32:39 +08:00
committed by GitHub
parent bcb9a33d43
commit 35e1998cc5
25 changed files with 343 additions and 207 deletions

17
core/core.go Normal file
View File

@@ -0,0 +1,17 @@
package core
const (
// PlatFormIos constant is 1 for iOS
PlatFormIos = iota + 1
// PlatFormAndroid constant is 2 for Android
PlatFormAndroid
// PlatFormHuawei constant is 3 for Huawei
PlatFormHuawei
)
const (
// SucceededPush is log block
SucceededPush = "succeeded-push"
// FailedPush is log block
FailedPush = "failed-push"
)