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

Feature Request - Add support for custom log table columns #45

Open
neozhu opened this issue May 8, 2023 · 0 comments
Open

Feature Request - Add support for custom log table columns #45

neozhu opened this issue May 8, 2023 · 0 comments

Comments

@neozhu
Copy link

neozhu commented May 8, 2023

I would like to suggest a new feature for the serilog-sinks-sqlite project. Can we add the ability to define custom log table columns, similar to the columnOptions feature in serilog-sinks-postgresql? https://github.com/b00ted/serilog-sinks-postgresql
This would make it easy to switch between different types of databases for storing logs.

My use case is that I have a web project that needs to support different databases (MS SQL Server, MySQL, PostgreSQL, and SQLite). Currently, the corresponding serilog-sinks for these databases all support custom columns. Therefore, I have been using serilog-sinks-sqlite in my project. However, it does not support custom columns, so I am unable to query logs correctly when switching to SQLite.

Thank you for your time and consideration.
Best regards,

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

1 participant