public static ILogger ForAccount(this ILogger logger, RelaySession session) { return(session.IsLoggedIn() ? logger.ForAccount(session.GameSession.Player) : logger); }
public static LogBuilder Account(this LogBuilder builder, RelaySession session) { return(session.IsLoggedIn() ? builder.Account(session.GameSession.Player) : builder); }