Skip to content

Commit

Permalink
Add missing class NotificationLoggingManager
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesChenX committed Jun 12, 2024
1 parent 3f6a7e3 commit 3a6e554
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@
package im.turms.gateway.infra.logging;

import io.netty.buffer.ByteBuf;
import org.springframework.stereotype.Component;

import im.turms.gateway.infra.proto.SimpleTurmsNotification;
import im.turms.server.common.infra.lang.NumberFormatter;
import im.turms.server.common.infra.logging.BaseNotificationLoggingManager;
import im.turms.server.common.infra.netty.ByteBufUtil;

import static im.turms.server.common.infra.logging.CommonLogger.LOG_FIELD_DELIMITER;
Expand All @@ -29,12 +31,10 @@
/**
* @author James Chen
*/
public final class NotificationLogging {
@Component
public class NotificationLoggingManager extends BaseNotificationLoggingManager {

private NotificationLogging() {
}

public static void log(
public void log(
SimpleTurmsNotification notification,
int notificationBytes,
int recipientCount,
Expand Down

0 comments on commit 3a6e554

Please sign in to comment.