File tree Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import (
17
17
"google.golang.org/grpc"
18
18
)
19
19
20
- var logger = flogging .MustGetLogger ("accessControl " )
20
+ var logger = flogging .MustGetLogger ("chaincode.accesscontrol " )
21
21
22
22
// CertAndPrivKeyPair contains a certificate
23
23
// and its corresponding private key in base64 format
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import (
11
11
)
12
12
13
13
//logger used by this package
14
- var logger = flogging .MustGetLogger ("chaincode- metadata" )
14
+ var logger = flogging .MustGetLogger ("chaincode.platform. metadata" )
15
15
16
16
//MetadataProvider is implemented by each platform in a platform specific manner.
17
17
//It can process metadata stored in ChaincodeDeploymentSpec in different formats.
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ var includeFileTypes = map[string]bool{
26
26
".json" : true ,
27
27
}
28
28
29
- var logger = flogging .MustGetLogger ("golang- platform" )
29
+ var logger = flogging .MustGetLogger ("chaincode. platform.golang " )
30
30
31
31
func getCodeFromFS (path string ) (codegopath string , err error ) {
32
32
logger .Debugf ("getCodeFromFS %s" , path )
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import (
24
24
pb "github.com/hyperledger/fabric/protos/peer"
25
25
)
26
26
27
- var logger = flogging .MustGetLogger ("java- platform" )
27
+ var logger = flogging .MustGetLogger ("chaincode. platform.java " )
28
28
29
29
// Platform for java chaincodes in java
30
30
type Platform struct {
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import (
26
26
pb "github.com/hyperledger/fabric/protos/peer"
27
27
)
28
28
29
- var logger = flogging .MustGetLogger ("node- platform" )
29
+ var logger = flogging .MustGetLogger ("chaincode. platform.node " )
30
30
31
31
// Platform for chaincodes written in Go
32
32
type Platform struct {
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ type Registry struct {
54
54
PackageWriter PackageWriter
55
55
}
56
56
57
- var logger = flogging .MustGetLogger ("chaincode- platform" )
57
+ var logger = flogging .MustGetLogger ("chaincode. platform" )
58
58
59
59
func NewRegistry (platformTypes ... Platform ) * Registry {
60
60
platforms := make (map [string ]Platform )
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ import (
31
31
cutil "github.com/hyperledger/fabric/core/container/util"
32
32
)
33
33
34
- var logger = flogging .MustGetLogger ("util" )
34
+ var logger = flogging .MustGetLogger ("chaincode.platform. util" )
35
35
36
36
//ComputeHash computes contents hash based on previous hash
37
37
func ComputeHash (contents []byte , hash []byte ) []byte {
You can’t perform that action at this time.
0 commit comments