You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Orm/Xtensive.Orm/Orm/Logging/BaseLog.cs
+43-16Lines changed: 43 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
// Copyright (C) 2013 Xtensive LLC.
2
-
// All rights reserved.
3
-
// For conditions of distribution and use, see license.
1
+
// Copyright (C) 2013-2022 Xtensive LLC.
2
+
// This code is distributed under MIT license terms.
3
+
// See the License.txt file in the project root for more information.
4
4
// Created by: Alexey Kulakov
5
5
// Created: 2013.10.11
6
6
@@ -29,7 +29,10 @@ public abstract class BaseLog
29
29
/// <summary>
30
30
/// Creates region. Within the region, all messages are indented.
31
31
/// </summary>
32
-
/// <param name="messageId">Identifier of the message in resources that should be written at the begging and at the end of the region or message itself.</param>
32
+
/// <param name="messageId">
33
+
/// Identifier of the message in resources that should be written at the begging
34
+
/// and at the end of the region or message itself.
35
+
/// </param>
33
36
/// <param name="parameters">Values of parameters in <paramref name="messageId"/> (resource string or message itself).</param>
34
37
/// <returns><see cref="IDisposable"/> object. Region will closed by disposing of this object.</returns>
@@ -47,8 +50,13 @@ public IndentManager.IndentScope DebugRegion(string messageId, params object[] p
47
50
/// <summary>
48
51
/// Creates region. Within the region, all messages are indented.
49
52
/// </summary>
50
-
/// <param name="messageId">Identifier of the message in resources that should be written at the begging and at the end of the region or message itself.</param>
51
-
/// <param name="parameters">Values of parameters in <paramref name="messageId"/> (resource string or message itself).</param>
53
+
/// <param name="messageId">
54
+
/// Identifier of the message in resources that should be written at the begging
55
+
/// and at the end of the region or message itself.
56
+
/// </param>
57
+
/// <param name="parameters">
58
+
/// Values of parameters in <paramref name="messageId"/> (resource string or message itself).
59
+
/// </param>
52
60
/// <returns><see cref="IDisposable"/> object. Region will closed by disposing of this object.</returns>
@@ -64,44 +72,63 @@ public IndentManager.IndentScope InfoRegion(string messageId, params object[] pa
64
72
/// <summary>
65
73
/// Writes debug message.
66
74
/// </summary>
67
-
/// <param name="messageId">Identifier of the message in resources that should be written at the begging and at the end of the region or message itself.</param>
68
-
/// <param name="parameters">Values of parameters in <paramref name="messageId"/> (resource string or message itself).</param>
75
+
/// <param name="messageId">
76
+
/// Identifier of message in resources that should be written to log or message itself.
77
+
/// </param>
78
+
/// <param name="parameters">
79
+
/// Values of parameters in <paramref name="messageId"/> (resource string or message itself).
80
+
/// </param>
69
81
/// <param name="exception">Exception, which must be written.</param>
0 commit comments