mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-23 09:36:11 +02:00
return self on several setter/builder methods for more consistent behaviour (#1609)
This commit is contained in:
@@ -272,9 +272,11 @@ class Logger implements LoggerInterface, ResettableInterface
|
||||
*
|
||||
* @param bool $micro True to use microtime() to create timestamps
|
||||
*/
|
||||
public function useMicrosecondTimestamps(bool $micro): void
|
||||
public function useMicrosecondTimestamps(bool $micro): self
|
||||
{
|
||||
$this->microsecondTimestamps = $micro;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user