private AzureFileControllerRpcService createService(IAzureFileCsiService azureFileCsiService) { var lf = new LoggerFactory(); return(new AzureFileControllerRpcService( azureFileCsiService, lf.CreateLogger <AzureFileControllerRpcService>())); }
public AzureFileControllerRpcService( IAzureFileCsiService azureFileCsiService, ILogger <AzureFileControllerRpcService> logger) { this.azureFileCsiService = azureFileCsiService; this.logger = logger; logger.LogInformation("Controller rpc service loaded"); }
public AzureFileNodeRpcService( string nodeId, IAzureFileCsiService azureFileCsiService, ISmbShareAttacher smbAttacher, ILogger <AzureFileNodeRpcService> logger) { this.nodeId = nodeId; this.azureFileCsiService = azureFileCsiService; this.smbShareAttacher = smbAttacher; this.logger = logger; logger.LogInformation("Node rpc service loaded, nodeId:{0}", nodeId); }