-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Logging object causes stack overflow #47
Labels
Comments
I should have mentioned, that to overcome this issue, instead of passing the object, I passed the result of ToString(). log.Info("Here is my class object {MyClass}", myClassObject.ToString()); |
Does this happen with any object or just certain objects? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a class, MyClass with ToString() overridden. When I do something like:
log.Info("Here is my class object {MyClass}", myClassObject);
I get stack overflow when a SplunkHttpEventCollector logger is active. Everything works as exptected if I use a different type of logger such as File.
The text was updated successfully, but these errors were encountered: