Closed ellisv closed 6 years ago
Ping @beberlei @tedsuo @yurishkuro
+1
logs-on-finish were originally added to Go API to handle offline processing cases. Specifically, the logRecord contains the timestamp, while the standard log() methods don't allow timestamp (since Go doesn't support method overloading). In languages that allow overloading or optional arguments, I don't see a reason for having bulk logs-on-finish.
+1 Ping @beberlei
Also see #53
This
$logRecords
is not documented by any PHP docs but I imply that implementation suppose to calllog()
before flushing.Having that means
flush()
is responsible for two thingsInstead promote usage of