mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
Fix Node Windows build error
This commit is contained in:
parent
a634de1c18
commit
c390be2ec4
@ -265,8 +265,8 @@ void InitLogConstants(Local<Object> exports) {
|
||||
Nan::Set(log_verbosity, Nan::New("DEBUG").ToLocalChecked(), DEBUG);
|
||||
Local<Value> INFO(Nan::New<Uint32, uint32_t>(GPR_LOG_SEVERITY_INFO));
|
||||
Nan::Set(log_verbosity, Nan::New("INFO").ToLocalChecked(), INFO);
|
||||
Local<Value> ERROR(Nan::New<Uint32, uint32_t>(GPR_LOG_SEVERITY_ERROR));
|
||||
Nan::Set(log_verbosity, Nan::New("ERROR").ToLocalChecked(), ERROR);
|
||||
Local<Value> LOG_ERROR(Nan::New<Uint32, uint32_t>(GPR_LOG_SEVERITY_ERROR));
|
||||
Nan::Set(log_verbosity, Nan::New("ERROR").ToLocalChecked(), LOG_ERROR);
|
||||
}
|
||||
|
||||
NAN_METHOD(MetadataKeyIsLegal) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user