Fix typo (#7)
diff --git a/rocketmq-client-csharp/MqLogManager.cs b/rocketmq-client-csharp/MqLogManager.cs
index 9e0875b..0608c8a 100644
--- a/rocketmq-client-csharp/MqLogManager.cs
+++ b/rocketmq-client-csharp/MqLogManager.cs
@@ -6,6 +6,11 @@
namespace org.apache.rocketmq
{
+ /**
+ * RocketMQ Log Manager.
+ *
+ * Configure component logging, please refer to https://github.com/NLog/NLog/wiki/Configure-component-logging
+ */
public class MqLogManager
{
public static LogFactory Instance
@@ -19,7 +24,6 @@
{
// Use name of current assembly to construct NLog config filename
Assembly thisAssembly = Assembly.GetExecutingAssembly();
- Console.WriteLine(thisAssembly.Location);
string configFilePath = Path.ChangeExtension(thisAssembly.Location, ".nlog");
LogFactory logFactory = new LogFactory();
diff --git a/tests/MqLogManagerTest.cs b/tests/MqLogManagerTest.cs
index 932aa8a..71be3f5 100644
--- a/tests/MqLogManagerTest.cs
+++ b/tests/MqLogManagerTest.cs
@@ -15,12 +15,12 @@
{
Logger.Trace("This is a trace message.");
Logger.Debug("This is a debug message.");
- Logger.Info("This is a info message.");
+ Logger.Info("This is an info message.");
Logger.Warn("This is a warn message.");
- Logger.Error("This is a error message.");
+ Logger.Error("This is an error message.");
Logger.Fatal("This is a fatal message.");
- Logger.Error(new Exception("foobar"), "this is a error message with exception.");
+ Logger.Error(new Exception("foobar"), "this is an error message with exception.");
Logger.Fatal(new Exception("foobar"), "this is a fatal message with exception.");
}
}