Skip to content
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

How to log a message without raising an error #151

Open
biomade opened this issue Sep 30, 2022 · 2 comments
Open

How to log a message without raising an error #151

biomade opened this issue Sep 30, 2022 · 2 comments

Comments

@biomade
Copy link

biomade commented Sep 30, 2022

I would like to write to some information the elmah log but NOT have to raise or throw an error.
How do I do that.

@justBanks
Copy link

justBanks commented Apr 11, 2023

I don't think Elmah is that kind of logger, is it? Seems to me it's expressly for reporting details on exceptions, stack traces, request contexts, etc.

Whereas we use a logger like log4net for its Info, Warning, and Error methods. If there's more to Elmah I'd be interested to learn more about it

😺

@omuleanu
Copy link
Contributor

@biomade have a look here: https://github.com/ElmahCore#raise-exception

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants