mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-11 22:09:02 +08:00
Partial revert of f474978db5519d501c0ad91439b56f5acedf1b99
to fix Perl driven unit tests.
This commit is contained in:
parent
7e694a8fb8
commit
bcfb445d0c
@ -91,6 +91,15 @@ unsigned get_logging_level()
|
||||
}
|
||||
}
|
||||
|
||||
// Force set_logging_level(<=error) after loading of the DLL.
|
||||
// This is currently only needed if libslic3r is loaded as a shared library into Perl interpreter
|
||||
// to perform unit and integration tests.
|
||||
static struct RunOnInit {
|
||||
RunOnInit() {
|
||||
set_logging_level(1);
|
||||
}
|
||||
} g_RunOnInit;
|
||||
|
||||
void trace(unsigned int level, const char *message)
|
||||
{
|
||||
boost::log::trivial::severity_level severity = level_to_boost(level);
|
||||
|
Loading…
x
Reference in New Issue
Block a user