-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
23d4d17
commit da997f1
Showing
4 changed files
with
47 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,55 @@ | ||
import { IsNotEmpty, IsString } from 'class-validator'; | ||
import { IsNotEmpty, IsOptional, IsString } from 'class-validator'; | ||
|
||
export class LoggingConfig { | ||
@IsString() | ||
@IsNotEmpty() | ||
public readonly DEFAULT_LOG_LEVEL!: string; | ||
|
||
//Domain Modules | ||
@IsOptional() | ||
@IsString() | ||
public readonly PERSON_MODULE_LOG_LEVEL?: string; | ||
|
||
public readonly PERSONMODULE_LOG_LEVEL?: string; | ||
|
||
public readonly ORGANISATIONMODULE_LOG_LEVEL?: string; | ||
@IsOptional() | ||
@IsString() | ||
public readonly ORGANISATION_MODULE_LOG_LEVEL?: string; | ||
|
||
public readonly ROLLEMODULE_LOG_LEVEL?: string; | ||
@IsOptional() | ||
@IsString() | ||
public readonly ROLLE_MODULE_LOG_LEVEL?: string; | ||
|
||
//API Modules | ||
@IsOptional() | ||
@IsString() | ||
public readonly PERSON_API_MODULE_LOG_LEVEL?: string; | ||
|
||
public readonly PERSON_API_MODULE_LOG_LEVEL!: string; | ||
|
||
public readonly ORGANISATIONAPIMODULE_LOG_LEVEL?: string; | ||
@IsOptional() | ||
@IsString() | ||
public readonly ORGANISATION_API_MODULE_LOG_LEVEL?: string; | ||
|
||
public readonly ROLLEAPIMODULE_LOG_LEVEL?: string; | ||
@IsOptional() | ||
@IsString() | ||
public readonly ROLLE_API_MODULE_LOG_LEVEL?: string; | ||
|
||
//Technical Modules | ||
@IsOptional() | ||
@IsString() | ||
public readonly SERVER_MODULE_LOG_LEVEL?: string; | ||
|
||
public readonly KEYCLOAKADMINISTRATIONMODULE_LOG_LEVEL?: string; | ||
@IsOptional() | ||
@IsString() | ||
public readonly KEYCLOAK_ADMINISTRATION_MODULE_LOG_LEVEL?: string; | ||
|
||
public readonly HEALTHMODULE_LOG_LEVEL?: string; | ||
@IsOptional() | ||
@IsString() | ||
public readonly HEALTH_MODULE_LOG_LEVEL?: string; | ||
|
||
//SPSH Modules | ||
@IsOptional() | ||
@IsString() | ||
public readonly BACKEND_FOR_FRONTEND_MODULE_LOG_LEVEL?: string; | ||
|
||
public readonly BACKENDFORFRONTENDMODULE_LOG_LEVEL?: string; | ||
|
||
public readonly UIBACKENDMODULE_LOG_LEVEL?: string; | ||
@IsString() | ||
@IsOptional() | ||
public readonly UI_BACKEND_MODULE_LOG_LEVEL?: string; | ||
} |