Closed mortenscheel closed 3 years ago
I think it makes sense to add the red color to critical, alert and emergency log messages.
critical
alert
emergency
If you like, I could add some tests asserting that the payloads get the expected color.
I'm curious if there's a reason why color values are passed as "magic" strings, and not defined as constants like ColorPayload::GREEN for instance?
ColorPayload::GREEN
just to keep things simple
Looks good to me, thanks!
I think it makes sense to add the red color to
critical
,alert
andemergency
log messages.If you like, I could add some tests asserting that the payloads get the expected color.
I'm curious if there's a reason why color values are passed as "magic" strings, and not defined as constants like
ColorPayload::GREEN
for instance?