mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-01 19:00:20 +02:00
Add some docs
This commit is contained in:
@@ -30,6 +30,8 @@ class DateTimeImmutable extends \DateTimeImmutable implements \JsonSerializable
|
|||||||
{
|
{
|
||||||
$this->useMicroseconds = $useMicroseconds;
|
$this->useMicroseconds = $useMicroseconds;
|
||||||
|
|
||||||
|
// if you like to use a custom time to pass to Logger::addRecord directly,
|
||||||
|
// call modify() or setTimestamp() on this instance to change the date after creating it
|
||||||
parent::__construct('now', $timezone);
|
parent::__construct('now', $timezone);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user