mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-25 17:57:02 +00:00
ifcopenshell.ifcopenshell_wrapper.turn_on_detailed_logging()
This commit is contained in:
@@ -687,6 +687,14 @@ static IfcUtil::ArgumentType helper_fn_attribute_type(const IfcUtil::IfcBaseClas
|
|||||||
ifcopenshell_log_stream.str("");
|
ifcopenshell_log_stream.str("");
|
||||||
return log;
|
return log;
|
||||||
}
|
}
|
||||||
|
void turn_on_detailed_logging() {
|
||||||
|
Logger::SetOutput(&std::cout, &std::cout);
|
||||||
|
Logger::Verbosity(Logger::LOG_DEBUG);
|
||||||
|
}
|
||||||
|
void turn_off_detailed_logging() {
|
||||||
|
Logger::SetOutput(0, &ifcopenshell_log_stream);
|
||||||
|
Logger::Verbosity(Logger::LOG_WARNING);
|
||||||
|
}
|
||||||
%}
|
%}
|
||||||
|
|
||||||
%{
|
%{
|
||||||
|
|||||||
Reference in New Issue
Block a user