コード例 #1
0
        private static void LogVerboseRepoOperationEvent(ILogging caller, RepositoryOperationContext context)
        {
            var logger = caller?.Log ?? Logging.L;

            logger.Debug("    submodule: {SubmoduleName}", context.SubmoduleName);
            logger.Debug("    recursion depth: {RepoRecDepth}", context.RecursionDepth);
            logger.Verbose("    parent: {ParentRepoName}", context.ParentRepositoryPath);
            logger.Verbose("    remote: {RepoRemoteName}", context.RemoteUrl);
        }
コード例 #2
0
 private void OnComplete(RepositoryOperationContext context)
 {
     logger.LogFormat(LogType.Log, "Module '{0}' update complete from '{1}'", context.SubmoduleName, context.RemoteUrl);
 }
コード例 #3
0
 private void GotCode(RepositoryOperationContext context)
 {
     CompileSketch();
 }
コード例 #4
0
 private bool OnStarting(RepositoryOperationContext context)
 {
     logger.LogFormat(LogType.Log, "Module '{0}' update starting from '{1}'", context.SubmoduleName, context.RemoteUrl);
     return(true);
 }
コード例 #5
0
 protected void FetchOperationCompleted(RepositoryOperationContext context)
 {
     Debug.Log("Operation Complete");
 }
コード例 #6
0
 protected bool FetchOperationStarting(RepositoryOperationContext context)
 {
     Debug.Log("Fetch Operation Started");
     //true to continue
     return(true);
 }
コード例 #7
0
ファイル: GitWizardBase.cs プロジェクト: Amitkapadi/UniGit
 protected void FetchOperationCompleted(RepositoryOperationContext context)
 {
     logger.Log(LogType.Log, "Operation Complete");
 }
コード例 #8
0
ファイル: GitWizardBase.cs プロジェクト: Amitkapadi/UniGit
 protected bool FetchOperationStarting(RepositoryOperationContext context)
 {
     logger.Log(LogType.Log, "Fetch Operation Started");
     //true to continue
     return(true);
 }