Skip to content

Commit bfe8224

Browse files
committed
feat: log plugin name and version by default
1 parent 58863cb commit bfe8224

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

CommonLibF4/src/F4SE/API.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ namespace F4SE
8383

8484
if (a_log) {
8585
log::init();
86+
log::info("{} v{}", GetPluginName(), GetPluginVersion());
8687
}
8788

8889
storage.messagingInterface = detail::QueryInterface<MessagingInterface>(a_intfc, LoadInterface::kMessaging);

RTTIDump/src/main.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,8 +391,6 @@ F4SE_PLUGIN_LOAD(const F4SE::LoadInterface* a_f4se)
391391
{
392392
F4SE::Init(a_f4se);
393393

394-
logger::info("{} v{}", F4SE::GetPluginName(), F4SE::GetPluginVersion());
395-
396394
auto messaging = F4SE::GetMessagingInterface();
397395
messaging->RegisterListener(MessageHandler);
398396

0 commit comments

Comments
 (0)