Skip to content

Commit

Permalink
chore: use correct log level
Browse files Browse the repository at this point in the history
  • Loading branch information
jeabakker committed Nov 25, 2024
1 parent 9a02b7b commit 1d826b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use ColdTrick\EntityTools\Migrate\Discussion;
use ColdTrick\EntityTools\Migrate\TheWire;
use ColdTrick\EntityTools\Migrate\Pages;
use Psr\Log\LogLevel;

/**
* Get the currently supported type/subtypes
Expand Down Expand Up @@ -46,7 +47,7 @@ function entity_tools_get_supported_entity_types(): array {
continue;
}

elgg_log("{$class} needs to implement " . Migrate::class, 'ERROR');
elgg_log("{$class} needs to implement " . Migrate::class, LogLevel::ERROR);
unset($result[$subtype]);
}

Expand Down

0 comments on commit 1d826b6

Please sign in to comment.