Skip to content

Commit e901eda

Browse files
committed
Update logger class method for warnings
1 parent 087af25 commit e901eda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Service/BifrostService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -533,15 +533,15 @@ private function getContentMapForDocuments(string $indexSuffix, array $documents
533533
$indexes = $this->getConfiguration()->getIndexConfigurationsForDocument($document);
534534

535535
if (!$indexes) {
536-
Injector::inst()->get(LoggerInterface::class)->warn(
536+
Injector::inst()->get(LoggerInterface::class)->warning(
537537
sprintf('No valid indexes found for document %s, skipping...', $document->getIdentifier())
538538
);
539539

540540
continue;
541541
}
542542

543543
if (!in_array($indexSuffix, array_keys($indexes), true)) {
544-
Injector::inst()->get(LoggerInterface::class)->warn(
544+
Injector::inst()->get(LoggerInterface::class)->warning(
545545
sprintf(
546546
'%s is not a valid index for document %s, skipping...',
547547
$indexSuffix,

0 commit comments

Comments
 (0)