You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have extended the Logger of Rubix to Laravel Log facade. This works very well except when you start to use persistence.
$estimator->setLogger(new class extends Logger {
public function log($level, $message, array $context = array())
{
Log::$level($message, $context);
}
});
When I try to save the estimator, I get this error: Serialization of 'class@anonymous' is not allowed vendor/rubix/ml/src/Persisters/Serializers/Native.php:26
Can't seem to figure out why this is happening. Logger should not be near the persistence I think.
The text was updated successfully, but these errors were encountered:
I have extended the Logger of Rubix to Laravel Log facade. This works very well except when you start to use persistence.
When I try to save the estimator, I get this error:
Serialization of 'class@anonymous' is not allowed
vendor/rubix/ml/src/Persisters/Serializers/Native.php:26
Can't seem to figure out why this is happening. Logger should not be near the persistence I think.
The text was updated successfully, but these errors were encountered: