Logging Framework : Logging in DB

Logging to different DBs when creating Full Stack Application.

Sometimes we need to log the module wise status to Db’s instead of file system.

i searched in the Web on logging to PostgreSQL/SqlServer. I could not find the relevant option.

Please suggest any equivalent .