File tree Expand file tree Collapse file tree
Sources/ApplicationConfiguration Expand file tree Collapse file tree Original file line number Diff line number Diff 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*/
5656public 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 ? ,
You can’t perform that action at this time.
0 commit comments