Skip to content

Add Console.WriteLine() in ConsensusService.Log()#974

Merged
vncoelho merged 1 commit intomasterfrom
3.0/consensus-log
Jul 31, 2019
Merged

Add Console.WriteLine() in ConsensusService.Log()#974
vncoelho merged 1 commit intomasterfrom
3.0/consensus-log

Conversation

@erikzhang
Copy link
Copy Markdown
Member

No description provided.

@codecov-io
Copy link
Copy Markdown

codecov-io commented Jul 31, 2019

Codecov Report

Merging #974 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #974      +/-   ##
==========================================
+ Coverage   53.77%   53.77%   +<.01%     
==========================================
  Files         194      194              
  Lines       13250    13251       +1     
==========================================
+ Hits         7125     7126       +1     
  Misses       6125     6125
Impacted Files Coverage Δ
neo/Consensus/ConsensusService.cs 15.89% <100%> (+0.18%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 46ed67f...318d59c. Read the comment docs.

Copy link
Copy Markdown
Member

@vncoelho vncoelho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thus, the consensus log will be compulsory now, right?

That file registering we can set in a Logger Plugins:

            lock (log_dictionary)
            {
                Directory.CreateDirectory(log_dictionary);
                string path = Path.Combine(log_dictionary, $"{now:yyyy-MM-dd}.log");
                File.AppendAllLines(path, new[] { line });
            }

@vncoelho vncoelho merged commit f927dec into master Jul 31, 2019
@vncoelho vncoelho deleted the 3.0/consensus-log branch July 31, 2019 15:48
Tommo-L pushed a commit to Tommo-L/neo that referenced this pull request Jun 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants