Skip to content

Commit 1c9173b

Browse files
committed
Fix PHP lizmap::logMetric with Psr3
1 parent 8397785 commit 1c9173b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lizmap/modules/lizmap/classes/lizmap.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,6 @@ public static function logMetric($label, $service, $payload = array())
518518

519519
$logMessage = new Log\MetricsLogMessage($log, 'metric');
520520

521-
self::getLogger()->info($logMessage);
521+
self::getLogger()->info("metric\t".$logMessage->getFormatedMessage());
522522
}
523523
}

0 commit comments

Comments
 (0)