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