Skip to content

Commit 684646c

Browse files
committed
Change logging access modifiers to public to be able to access them from library users
1 parent d02f119 commit 684646c

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

Sources/ApplicationConfiguration/Configuration.swift

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public struct Configuration: Codable {
2424
/// server configuration including url and port
2525
let server: ServerConfiguration?
2626
/// logging configuration includign paths
27-
let logging: LoggingConfiguration?
27+
public let logging: LoggingConfiguration?
2828
/// database configuration including host, user, pass,...
2929
public let db: DBConfiguration?
3030
/// ssl certificate configurations
@@ -55,9 +55,9 @@ public struct ServerConfiguration: Codable {
5555
*/
5656
public struct LoggingConfiguration: Codable {
5757
/// logging path for requests
58-
let requestLoggingPath: String?
58+
public let requestLoggingPath: String?
5959
/// logging path
60-
let logPath: String?
60+
public let logPath: String?
6161
}
6262

6363
/**
@@ -82,12 +82,12 @@ public struct DBConfiguration: Codable {
8282
/**
8383
initialize the database configuration
8484
- parameters:
85-
- name: database name
86-
- host: host url
87-
- port: port address
88-
- user: user name
89-
- pass: password
90-
- driverType: database driver type such as mySQL
85+
- name: database name
86+
- host: host url
87+
- port: port address
88+
- user: user name
89+
- pass: password
90+
- driverType: database driver type such as mySQL
9191
*/
9292
public init(name: String?,
9393
host: String?,

0 commit comments

Comments
 (0)