Prompt
Create a simple error logging service that captures error messages, stack traces, and timestamps, storing them in memory and exposing a getAll method. It should handle both Error objects and plain string errors.
Hints
Solution
Your Code
10 min