mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 23:08:05 -05:00
feat(Linker): add verbose loggin when writing of zones begins
This commit is contained in:
@ -405,6 +405,11 @@ class LinkerImpl final : public Linker
|
|||||||
if (!stream.is_open())
|
if (!stream.is_open())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
if (m_args.m_verbose)
|
||||||
|
{
|
||||||
|
std::cout << std::format("Building zone \"{}\"\n", zoneFilePath.string());
|
||||||
|
}
|
||||||
|
|
||||||
if (!ZoneWriting::WriteZone(stream, zone))
|
if (!ZoneWriting::WriteZone(stream, zone))
|
||||||
{
|
{
|
||||||
std::cerr << "Writing zone failed.\n";
|
std::cerr << "Writing zone failed.\n";
|
||||||
|
Reference in New Issue
Block a user