grpc-code-gen
Advanced tools
Comparing version 3.6.2 to 3.6.3
@@ -412,5 +412,5 @@ "use strict"; | ||
const duration = (Date.now() - start) / 1000; | ||
console.info('grpc invoke:', methodId, 'duration:', duration + 's', 'request:', request); | ||
console.info('grpc invoke:', methodId, 'duration:', duration + 's', 'request:', JSON.stringify(request)); | ||
if (err) { | ||
console.error('grpc invoke:', methodId, 'duration:', duration + 's', 'request:', request, 'err:', err); | ||
console.error('grpc invoke:', methodId, 'duration:', duration + 's', 'request:', JSON.stringify(request), 'err:', err); | ||
} | ||
@@ -458,5 +458,5 @@ } | ||
const duration = (Date.now() - start) / 1000; | ||
console.info('grpc invoke:', methodId, 'duration:', duration + 's', 'request:', request); | ||
console.info('grpc invoke:', methodId, 'duration:', duration + 's', 'request:', JSON.stringify(request)); | ||
if (err) { | ||
console.error('grpc invoke:', methodId, 'duration:', duration + 's', 'request:', request, 'err:', err); | ||
console.error('grpc invoke:', methodId, 'duration:', duration + 's', 'request:', JSON.stringify(request), 'err:', err); | ||
} | ||
@@ -463,0 +463,0 @@ } |
{ | ||
"name": "grpc-code-gen", | ||
"version": "3.6.2", | ||
"version": "3.6.3", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/yunkeCN/grpc-code-gen.git", |
@@ -491,5 +491,5 @@ import * as fs from 'fs-extra'; | ||
const duration = (Date.now() - start) / 1000; | ||
console.info('grpc invoke:', methodId, 'duration:', duration + 's', 'request:', request); | ||
console.info('grpc invoke:', methodId, 'duration:', duration + 's', 'request:', JSON.stringify(request)); | ||
if (err) { | ||
console.error('grpc invoke:', methodId, 'duration:', duration + 's', 'request:', request, 'err:', err); | ||
console.error('grpc invoke:', methodId, 'duration:', duration + 's', 'request:', JSON.stringify(request), 'err:', err); | ||
} | ||
@@ -536,5 +536,5 @@ } | ||
const duration = (Date.now() - start) / 1000; | ||
console.info('grpc invoke:', methodId, 'duration:', duration + 's', 'request:', request); | ||
console.info('grpc invoke:', methodId, 'duration:', duration + 's', 'request:', JSON.stringify(request)); | ||
if (err) { | ||
console.error('grpc invoke:', methodId, 'duration:', duration + 's', 'request:', request, 'err:', err); | ||
console.error('grpc invoke:', methodId, 'duration:', duration + 's', 'request:', JSON.stringify(request), 'err:', err); | ||
} | ||
@@ -541,0 +541,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
127481