emilk / loguru

A lightweight C++ logging library
The Unlicense
1.76k stars 256 forks source link

Loguru and glog conflict error #231

Open lfwin opened 1 year ago

lfwin commented 1 year ago

Hi, I use loguru in my project, and I installed Glog library at the same time. `

define LOGURU_REPLACE_GLOG 1

include

... LOG(1) << ...; ` When I compiled my project, the error, 'error: ‘COMPACT_GOOGLE_LOG_1’ was not declared in this scope; did you mean ‘COMPACT_GOOGLE_LOG_0’?', occurs.