Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim8y committed Aug 21, 2021
1 parent 80693a3 commit d59e1cf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Neo.ConsoleService/ConsoleHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ public static class ConsoleHelper
private static readonly ConsoleColorSet ErrorColor = new(ConsoleColor.Red);

/// <summary>
/// Info handles message in the form of "[tag]:[msg]",
/// Info handles message in the format of "[tag]:[message]",
/// avoid using Info if the `tag` is too long
/// </summary>
/// <param name="values"></param>
/// <param name="values">The log message in pairs of (tag, message)</param>
public static void Info(params string[] values)
{
var currentColor = new ConsoleColorSet();
Expand All @@ -35,7 +35,7 @@ public static void Info(params string[] values)
/// Also use warning if you just want to remind
/// user of doing something.
/// </summary>
/// <param name="msg"></param>
/// <param name="msg">Warning message</param>
public static void Warning(string msg)
{
Log("Warning", WarningColor, msg);
Expand All @@ -46,7 +46,7 @@ public static void Warning(string msg)
/// or exception that breaks the execution of interactive
/// command throws.
/// </summary>
/// <param name="msg"></param>
/// <param name="msg">Error message</param>
public static void Error(string msg)
{
Log("Error", ErrorColor, msg);
Expand Down

0 comments on commit d59e1cf

Please sign in to comment.