mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
Respect unicode setting for plugin debug info
This commit is contained in:
@@ -54,7 +54,11 @@ namespace {
|
||||
}
|
||||
|
||||
void plugin_debug(const std::string& message) {
|
||||
#if defined(_MSC_VER) && defined(_UNICODE)
|
||||
std::wcerr << "[ifcopenshell.plugin] " << message.c_str() << std::endl;
|
||||
#else
|
||||
std::cerr << "[ifcopenshell.plugin] " << message << std::endl;
|
||||
#endif
|
||||
}
|
||||
|
||||
const char* plugin_kind_name(ifcopenshell::plugin::kind kind) {
|
||||
|
||||
Reference in New Issue
Block a user