LogMessage() public method

public LogMessage ( string message ) : void
message string
return void
    public override bool Execute()
    {
        TaskLogger logger = new TaskLogger(this);

        if (File.Exists("PreSharp.EmbeddedResourceGeneratedFiles.cache")) {
            EmbeddedResourceGeneratedFiles = File.ReadAllLines("PreSharp.EmbeddedResourceGeneratedFiles.cache").Select(file => new TaskItem(file)).ToArray();
            foreach (var file in EmbeddedResourceGeneratedFiles) {
                logger.LogMessage("File '" + file + "' was added to embedded resource list");
            }
        }

        return true;
    }
    public override bool Execute()
    {
        TaskLogger logger = new TaskLogger(this);

        if (File.Exists("PreSharp.CompileGeneratedFiles.cache"))
        {
            CompileGeneratedFiles = File.ReadAllLines("PreSharp.CompileGeneratedFiles.cache").Select(file => new TaskItem(file)).ToArray();
            foreach (var file in CompileGeneratedFiles)
            {
                logger.LogMessage("File '" + file + "' was added to compile list");
            }
        }

        return(true);
    }