Skip to content

Commit

Permalink
Upgrade notification logs
Browse files Browse the repository at this point in the history
In minified builds the name is just `a` so this improves the logs
  • Loading branch information
StylianosGakis committed Apr 25, 2023
1 parent 1262b82 commit 40fa89e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class ChatNotificationSender(

sendHedvigNotification(
context = context,
notificationSender = this::class.simpleName,
notificationSender = "ChatNotificationSender",
notificationId = CHAT_NOTIFICATION_ID,
notification = notification,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class CrossSellNotificationSender(
)
sendHedvigNotification(
context = context,
notificationSender = this::class.simpleName,
notificationSender = "CrossSellNotificationSender",
notificationId = CROSS_SELL_NOTIFICATION_ID,
notification = notification,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class GenericNotificationSender(

sendHedvigNotification(
context = context,
notificationSender = this::class.simpleName,
notificationSender = "GenericNotificationSender",
notificationId = id.getAndIncrement(),
notification = notification,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ class PaymentNotificationSender(
private fun sendNotificationInner(id: Int, notification: Notification) {
sendHedvigNotification(
context = context,
notificationSender = this::class.simpleName,
notificationSender = "PaymentNotificationSender",
notificationId = id,
notification = notification,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class ReferralsNotificationSender(
private fun sendNotificationInner(id: Int, notification: Notification) {
sendHedvigNotification(
context = context,
notificationSender = this::class.simpleName,
notificationSender = "ReferralsNotificationSender",
notificationId = id,
notification = notification,
)
Expand Down

0 comments on commit 40fa89e

Please sign in to comment.