Skip to content

Commit

Permalink
fix: use val for logging in all SqlServer daos (#534)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-alfers authored Mar 21, 2024
1 parent 84bc21e commit 4d72fa1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import akka.persistence.r2dbc.internal.Sql
*/
@InternalApi
private[r2dbc] object SqlServerDurableStateDao {
private def log: Logger = LoggerFactory.getLogger(classOf[SqlServerDurableStateDao])
private val log: Logger = LoggerFactory.getLogger(classOf[SqlServerDurableStateDao])
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import akka.persistence.r2dbc.internal.postgres.PostgresJournalDao
*/
@InternalApi
private[r2dbc] object SqlServerJournalDao {
private def log: Logger = LoggerFactory.getLogger(classOf[SqlServerJournalDao])
private val log: Logger = LoggerFactory.getLogger(classOf[SqlServerJournalDao])
val TRUE = "1"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import akka.persistence.r2dbc.internal.postgres.PostgresQueryDao
*/
@InternalApi
private[r2dbc] object SqlServerQueryDao {
private def log: Logger = LoggerFactory.getLogger(classOf[SqlServerQueryDao])
private val log: Logger = LoggerFactory.getLogger(classOf[SqlServerQueryDao])

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import akka.persistence.r2dbc.internal.postgres.PostgresSnapshotDao
*/
@InternalApi
private[r2dbc] object SqlServerSnapshotDao {
private def log: Logger = LoggerFactory.getLogger(classOf[SqlServerSnapshotDao])
private val log: Logger = LoggerFactory.getLogger(classOf[SqlServerSnapshotDao])
}

/**
Expand Down

0 comments on commit 4d72fa1

Please sign in to comment.