Anna Bocharova
Anna Bocharova
@Lavdewangan1 , why `z.enum().or(z.string())` does not suite the need?
@coderabbitai review
should not overload the default RH

After upgrading express to v5.1 (comparison of the async and sync logger): 
(warm) 
Profiled logging only | metric | master | feature | |--------|--------|--------| | 10k log messages | 175 ms | 54ms |
| Metric | master | feature | diff | |--------|--------|--------|-----| | 100k log messages | 1670 ms | 551 ms | 3x |
Did my best — it's a small but powerful change, should be a nice improvement. Please review.
@fasttime , please review the implementation. Let me know if something should be improved. Please also adjust the state — should no longer be blocked