mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-17 14:02:27 +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) {
|
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;
|
std::cerr << "[ifcopenshell.plugin] " << message << std::endl;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* plugin_kind_name(ifcopenshell::plugin::kind kind) {
|
const char* plugin_kind_name(ifcopenshell::plugin::kind kind) {
|
||||||
|
|||||||
Reference in New Issue
Block a user