You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2016/11/10 22:38:41 UTC

[29/50] incubator-mynewt-newt git commit: MYNEWT-139: Add TEST log type.

MYNEWT-139: Add TEST log type.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/commit/9a4dd3e0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/9a4dd3e0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/9a4dd3e0

Branch: refs/heads/master
Commit: 9a4dd3e00aec1270c8b5fbd95bc3843b4736cf75
Parents: fe7be9f
Author: Peter Snyder <pe...@apache.org>
Authored: Thu Nov 3 14:28:10 2016 -0700
Committer: Peter Snyder <pe...@apache.org>
Committed: Thu Nov 3 14:28:10 2016 -0700

----------------------------------------------------------------------
 newtmgr/cli/logs.go | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/9a4dd3e0/newtmgr/cli/logs.go
----------------------------------------------------------------------
diff --git a/newtmgr/cli/logs.go b/newtmgr/cli/logs.go
index e3bae23..978bbbf 100644
--- a/newtmgr/cli/logs.go
+++ b/newtmgr/cli/logs.go
@@ -52,6 +52,7 @@ const (
 	MODULE_NIMBLE_HOST uint64 = 4
 	MODULE_NFFS        uint64 = 5
 	MODULE_REBOOT      uint64 = 6
+	MODULE_TEST        uint64 = 8
 	MODULE_MAX         uint64 = 255
 )
 
@@ -72,6 +73,8 @@ func LogModuleToString(lm uint64) string {
 		s = "NFFS"
 	case MODULE_REBOOT:
 		s = "REBOOT"
+	case MODULE_TEST:
+		s = "TEST"
 	default:
 		s = "CUSTOM"
 	}