feat: add integration with seq
This commit is contained in:
@ -45,7 +45,9 @@ export class LoggingComponent {
|
||||
this.loggingSettings = this.formBuilder.group({
|
||||
enabled: [true, Validators.required],
|
||||
logPath: [''],
|
||||
logName: ['']
|
||||
logName: [''],
|
||||
seqServer: [''],
|
||||
seqKey: ['']
|
||||
}
|
||||
);
|
||||
|
||||
@ -56,9 +58,11 @@ export class LoggingComponent {
|
||||
|
||||
this.navigationService.nextButtonAction = () => {
|
||||
return this.api.setLogging({
|
||||
"enableLogToFile": this.loggingSettings.get('enabled')?.value,
|
||||
"logFileName": this.loggingSettings.get('logName')?.value,
|
||||
"logFilePath": this.loggingSettings.get('logPath')?.value
|
||||
enableLogToFile: this.loggingSettings.get('enabled')?.value,
|
||||
logFileName: this.loggingSettings.get('logName')?.value,
|
||||
logFilePath: this.loggingSettings.get('logPath')?.value,
|
||||
apiServerSeq: this.loggingSettings.get('seqServer')?.value,
|
||||
apiKeySeq: this.loggingSettings.get('seqKey')?.value
|
||||
}
|
||||
);
|
||||
};
|
||||
@ -73,6 +77,8 @@ export class LoggingComponent {
|
||||
this.loggingSettings.get('enabled')?.setValue(x.enableLogToFile);
|
||||
this.loggingSettings.get('logName')?.setValue(x.logFileName);
|
||||
this.loggingSettings.get('logPath')?.setValue(x.logFilePath);
|
||||
this.loggingSettings.get('seqServer')?.setValue(x.apiServerSeq);
|
||||
this.loggingSettings.get('seqKey')?.setValue(x.apiKeySeq);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user