public void DefaultLogFail() { NetSdkBuildTaskLogger sdkLogger = new NetSdkBuildTaskLogger(); sdkLogger.LogInfo("Test Log message"); sdkLogger.LogError("Some test error message"); }
NetSdkBuildTaskLogger GetLogger() { NetSdkBuildTaskLogger logger = GlobalStateInfo.GetGlobalObject<NetSdkBuildTaskLogger>(); if (logger == null) { BuildConsoleLogger consoleLogger = GlobalStateInfo.GetGlobalObject<BuildConsoleLogger>(); if (consoleLogger != null) logger = consoleLogger; } return logger; }
public PrSvc(Octokit.GitHubClient ghc, NetSdkBuildTaskLogger log) { Logger = log; OC = ghc; }
public GitHubService(NetSdkBuildTaskLogger utilLog, string ghAccessToken) : base(utilLog) { GHAccessToken = ghAccessToken; }
//KeyVaultService KVSvc { get; set; } #endregion #region Constructor //public PrSvc(Octokit.GitHubClient ghc, NetSdkBuildTaskLogger log, KeyVaultService kvService) public PrSvc(Octokit.GitHubClient ghc, NetSdkBuildTaskLogger log) { Logger = log; OC = ghc; //KVSvc = kvService; }
public void DefaultLogInfo() { NetSdkBuildTaskLogger sdkLogger = new NetSdkBuildTaskLogger(); sdkLogger.LogInfo("Test Log message"); }
public InstallPsModulesUtilTask(NetSdkBuildTaskLogger taskLogger) : base(taskLogger) { Init(); }
protected NetSdkUtilTask(NetSdkBuildTaskLogger utilLog) : this() { UtilLogger = utilLog; }
public KeyVaultService(NetSdkBuildTaskLogger utilLog) : base(utilLog) { Init(); }