mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-23 01:26:11 +02:00
use mb_* when needed
This commit is contained in:
@@ -52,7 +52,7 @@ class SqsHandler extends AbstractProcessingHandler
|
||||
}
|
||||
|
||||
$messageBody = $record['formatted'];
|
||||
if (Utils::strlen($messageBody) >= static::MAX_MESSAGE_SIZE) {
|
||||
if (strlen($messageBody) >= static::MAX_MESSAGE_SIZE) {
|
||||
$messageBody = Utils::substr($messageBody, 0, static::HEAD_MESSAGE_SIZE);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user