[skottie] Drop legacy effect logging

All clients have been updated

TBR=
Change-Id: I29e89d43606945f13e9933d34218b61be71db63d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/261279
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Florin Malita <fmalita@chromium.org>
This commit is contained in:
Florin Malita 2019-12-20 11:01:04 -05:00 committed by Skia Commit-Bot
parent 9f744f7ece
commit c8bf7969ec

View File

@ -79,13 +79,8 @@ EffectBuilder::EffectBuilderT EffectBuilder::findBuilder(const skjson::ObjectVal
default: break;
}
#ifdef SKOTTIE_LEGACY_EFFECT_LOGFMT
fBuilder->log(Logger::Level::kWarning, nullptr,
"Unsupported layer effect type: %d.", ParseDefault<int>(jeffect["ty"], -1));
#else
fBuilder->log(Logger::Level::kWarning, &jeffect,
"Unsupported layer effect: %s", mn ? mn->begin() : "(unknown)");
#endif
return nullptr;
}