NexusConfig::$logger. When $logger is null (the default), all SDK log output is suppressed.
Configuration
What the SDK logs
The SDK never logs the raw API key. Key references in log messages use the type only (e.g.
key_type=sk).
Monolog example
Monolog is the most common PSR-3 implementation in PHP:Symfony Dependency Injection
In a Symfony application, inject theLoggerInterface via DI:
Laravel
In Laravel, pass a channel-specific logger usingLog::channel:
nexus channel to config/logging.php:
Silencing SDK logs
If you want the SDK to produce no output at all, pass aNullLogger:
NullLogger is part of psr/log which Guzzle already requires transitively, so no additional dependency is needed.
Alternatively, leave $logger as null (the default) - the SDK omits all logging in that case.