mirror of
https://github.com/edubart/otclient.git
synced 2025-12-25 09:17:11 +01:00
change logger
This commit is contained in:
@@ -46,7 +46,7 @@ ImagePtr Image::load(const std::string& file)
|
||||
// load image file data
|
||||
image = loadPNG(file);
|
||||
} catch(stdext::exception& e) {
|
||||
logError("unable to load image '%s': %s", file, e.what());
|
||||
g_logger.error(stdext::format("unable to load image '%s': %s", file, e.what()));
|
||||
}
|
||||
return image;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user