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

SinglePropertyColumnWriter OR loggerPropertyColumnOptions with a custom value via appsettings.config #66

Open
tcartwright opened this issue Feb 8, 2024 · 0 comments
Assignees
Labels
question Further information is requested

Comments

@tcartwright
Copy link

Is there a way to hard code a value in the appsettings.config for either a SinglePropertyColumnWriter OR a loggerPropertyColumnOptions?

I would love to do this:

"loggerColumnOptions": {
	"Id": {
		"Name": "IdAutoIncrement"
	},
	"System": {
		"Name": "SingleProperty",		
		"DbType": "varchar",
		"maxLength": 100,
		"Value": "MySystemName"
	}	
},

OR

"loggerPropertyColumnOptions": {
	"System": {
		"Name": "System",
		"Format": "{0}",
		"WriteMethod": "Raw",
		"DbType": "varchar",
		"MaxLength": "100",
		"Value": "MySystem"
	}
}
@SeppPenner SeppPenner self-assigned this Feb 10, 2024
@SeppPenner SeppPenner added the question Further information is requested label Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants