Skip to content

Commit 3c34fb4

Browse files
roei sabagroei sabag
authored andcommitted
add documentation
1 parent b2693aa commit 3c34fb4

File tree

128 files changed

+2882
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+2882
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Gravity Abstraction Logging
22
Gravity API, logging abstraction. Allows to create any type of logging output using standard conventions.
33

4+
[Assembly Documentation](./docs/index.md 'index')
5+
46
# Quick Start (using the existing ```TraceLogger```)
57
```csharp
68
/*
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#### [Gravity.Abstraction.Logging](./index.md 'index')
2+
### [Gravity.Abstraction.Logging.Extensions](./Gravity-Abstraction-Logging-Extensions.md 'Gravity.Abstraction.Logging.Extensions').[LoggerExtensions](./Gravity-Abstraction-Logging-Extensions-LoggerExtensions.md 'Gravity.Abstraction.Logging.Extensions.LoggerExtensions')
3+
## LoggerExtensions.AsReadableString(System.Collections.Generic.IDictionary<string,object>) Method
4+
Converts a log message into a readable text message that can printed or saved to a file.
5+
```csharp
6+
public static string AsReadableString(this System.Collections.Generic.IDictionary<string,object> logMessage);
7+
```
8+
#### Parameters
9+
<a name='Gravity-Abstraction-Logging-Extensions-LoggerExtensions-AsReadableString(System-Collections-Generic-IDictionary-string_object-)-logMessage'></a>
10+
`logMessage` [System.Collections.Generic.IDictionary&lt;](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.IDictionary-2 'System.Collections.Generic.IDictionary`2')[System.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System.String')[,](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.IDictionary-2 'System.Collections.Generic.IDictionary`2')[System.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System.Object')[&gt;](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.IDictionary-2 'System.Collections.Generic.IDictionary`2')
11+
Log message to convert.
12+
13+
#### Returns
14+
[System.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System.String')
15+
Readable [System.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System.String') when can posted to console or into a file.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#### [Gravity.Abstraction.Logging](./index.md 'index')
2+
### [Gravity.Abstraction.Logging.Extensions](./Gravity-Abstraction-Logging-Extensions.md 'Gravity.Abstraction.Logging.Extensions')
3+
## LoggerExtensions Class
4+
```csharp
5+
public static class LoggerExtensions
6+
```
7+
Inheritance [System.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System.Object') &#129106; LoggerExtensions
8+
### Methods
9+
- [AsReadableString(System.Collections.Generic.IDictionary&lt;string,object&gt;)](./Gravity-Abstraction-Logging-Extensions-LoggerExtensions-AsReadableString(System-Collections-Generic-IDictionary-string_object-).md 'Gravity.Abstraction.Logging.Extensions.LoggerExtensions.AsReadableString(System.Collections.Generic.IDictionary&lt;string,object&gt;)')
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#### [Gravity.Abstraction.Logging](./index.md 'index')
2+
## Gravity.Abstraction.Logging.Extensions Namespace
3+
### Classes
4+
- [LoggerExtensions](./Gravity-Abstraction-Logging-Extensions-LoggerExtensions.md 'Gravity.Abstraction.Logging.Extensions.LoggerExtensions')
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#### [Gravity.Abstraction.Logging](./index.md 'index')
2+
### [Gravity.Abstraction.Logging](./Gravity-Abstraction-Logging.md 'Gravity.Abstraction.Logging').[ILogger](./Gravity-Abstraction-Logging-ILogger.md 'Gravity.Abstraction.Logging.ILogger')
3+
## ILogger.CreateChildLogger(string) Method
4+
Create a new child logger.
5+
The name of the child logger is [current-loggers-name].[passed-in-name]
6+
```csharp
7+
Gravity.Abstraction.Logging.ILogger CreateChildLogger(string loggerName);
8+
```
9+
#### Parameters
10+
<a name='Gravity-Abstraction-Logging-ILogger-CreateChildLogger(string)-loggerName'></a>
11+
`loggerName` [System.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System.String')
12+
The sub-name of this logger.
13+
14+
#### Returns
15+
[ILogger](./Gravity-Abstraction-Logging-ILogger.md 'Gravity.Abstraction.Logging.ILogger')
16+
The New ILogger instance.
17+
#### Exceptions
18+
[System.ArgumentException](https://docs.microsoft.com/en-us/dotnet/api/System.ArgumentException 'System.ArgumentException')
19+
If the name has an empty element name.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#### [Gravity.Abstraction.Logging](./index.md 'index')
2+
### [Gravity.Abstraction.Logging](./Gravity-Abstraction-Logging.md 'Gravity.Abstraction.Logging').[ILogger](./Gravity-Abstraction-Logging-ILogger.md 'Gravity.Abstraction.Logging.ILogger')
3+
## ILogger.Debug(System.Func&lt;string&gt;) Method
4+
Logs a debug message with lazily constructed message. The message will be constructed only if the [IsDebugEnabled](./Gravity-Abstraction-Logging-ILogger-IsDebugEnabled.md 'Gravity.Abstraction.Logging.ILogger.IsDebugEnabled') is true.
5+
```csharp
6+
void Debug(System.Func<string> messageFactory);
7+
```
8+
#### Parameters
9+
<a name='Gravity-Abstraction-Logging-ILogger-Debug(System-Func-string-)-messageFactory'></a>
10+
`messageFactory` [System.Func&lt;](https://docs.microsoft.com/en-us/dotnet/api/System.Func-1 'System.Func`1')[System.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System.String')[&gt;](https://docs.microsoft.com/en-us/dotnet/api/System.Func-1 'System.Func`1')
11+
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#### [Gravity.Abstraction.Logging](./index.md 'index')
2+
### [Gravity.Abstraction.Logging](./Gravity-Abstraction-Logging.md 'Gravity.Abstraction.Logging').[ILogger](./Gravity-Abstraction-Logging-ILogger.md 'Gravity.Abstraction.Logging.ILogger')
3+
## ILogger.Debug(string) Method
4+
Logs a debug message.
5+
```csharp
6+
void Debug(string message);
7+
```
8+
#### Parameters
9+
<a name='Gravity-Abstraction-Logging-ILogger-Debug(string)-message'></a>
10+
`message` [System.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System.String')
11+
The message to log
12+
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#### [Gravity.Abstraction.Logging](./index.md 'index')
2+
### [Gravity.Abstraction.Logging](./Gravity-Abstraction-Logging.md 'Gravity.Abstraction.Logging').[ILogger](./Gravity-Abstraction-Logging-ILogger.md 'Gravity.Abstraction.Logging.ILogger')
3+
## ILogger.Debug(string, System.Exception) Method
4+
Logs a debug message.
5+
```csharp
6+
void Debug(string message, System.Exception exception);
7+
```
8+
#### Parameters
9+
<a name='Gravity-Abstraction-Logging-ILogger-Debug(string_System-Exception)-message'></a>
10+
`message` [System.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System.String')
11+
The message to log
12+
13+
<a name='Gravity-Abstraction-Logging-ILogger-Debug(string_System-Exception)-exception'></a>
14+
`exception` [System.Exception](https://docs.microsoft.com/en-us/dotnet/api/System.Exception 'System.Exception')
15+
The exception to log
16+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#### [Gravity.Abstraction.Logging](./index.md 'index')
2+
### [Gravity.Abstraction.Logging](./Gravity-Abstraction-Logging.md 'Gravity.Abstraction.Logging').[ILogger](./Gravity-Abstraction-Logging-ILogger.md 'Gravity.Abstraction.Logging.ILogger')
3+
## ILogger.DebugFormat(System.Exception, System.IFormatProvider, string, object[]) Method
4+
Logs a debug message.
5+
```csharp
6+
void DebugFormat(System.Exception exception, System.IFormatProvider formatProvider, string format, params object[] args);
7+
```
8+
#### Parameters
9+
<a name='Gravity-Abstraction-Logging-ILogger-DebugFormat(System-Exception_System-IFormatProvider_string_object--)-exception'></a>
10+
`exception` [System.Exception](https://docs.microsoft.com/en-us/dotnet/api/System.Exception 'System.Exception')
11+
The exception to log
12+
13+
<a name='Gravity-Abstraction-Logging-ILogger-DebugFormat(System-Exception_System-IFormatProvider_string_object--)-formatProvider'></a>
14+
`formatProvider` [System.IFormatProvider](https://docs.microsoft.com/en-us/dotnet/api/System.IFormatProvider 'System.IFormatProvider')
15+
The format provider to use
16+
17+
<a name='Gravity-Abstraction-Logging-ILogger-DebugFormat(System-Exception_System-IFormatProvider_string_object--)-format'></a>
18+
`format` [System.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System.String')
19+
Format string for the message to log
20+
21+
<a name='Gravity-Abstraction-Logging-ILogger-DebugFormat(System-Exception_System-IFormatProvider_string_object--)-args'></a>
22+
`args` [System.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System.Object')[[]](https://docs.microsoft.com/en-us/dotnet/api/System.Array 'System.Array')
23+
Format arguments for the message to log
24+
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#### [Gravity.Abstraction.Logging](./index.md 'index')
2+
### [Gravity.Abstraction.Logging](./Gravity-Abstraction-Logging.md 'Gravity.Abstraction.Logging').[ILogger](./Gravity-Abstraction-Logging-ILogger.md 'Gravity.Abstraction.Logging.ILogger')
3+
## ILogger.DebugFormat(System.Exception, string, object[]) Method
4+
Logs a debug message.
5+
```csharp
6+
void DebugFormat(System.Exception exception, string format, params object[] args);
7+
```
8+
#### Parameters
9+
<a name='Gravity-Abstraction-Logging-ILogger-DebugFormat(System-Exception_string_object--)-exception'></a>
10+
`exception` [System.Exception](https://docs.microsoft.com/en-us/dotnet/api/System.Exception 'System.Exception')
11+
The exception to log
12+
13+
<a name='Gravity-Abstraction-Logging-ILogger-DebugFormat(System-Exception_string_object--)-format'></a>
14+
`format` [System.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System.String')
15+
Format string for the message to log
16+
17+
<a name='Gravity-Abstraction-Logging-ILogger-DebugFormat(System-Exception_string_object--)-args'></a>
18+
`args` [System.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System.Object')[[]](https://docs.microsoft.com/en-us/dotnet/api/System.Array 'System.Array')
19+
Format arguments for the message to log
20+
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#### [Gravity.Abstraction.Logging](./index.md 'index')
2+
### [Gravity.Abstraction.Logging](./Gravity-Abstraction-Logging.md 'Gravity.Abstraction.Logging').[ILogger](./Gravity-Abstraction-Logging-ILogger.md 'Gravity.Abstraction.Logging.ILogger')
3+
## ILogger.DebugFormat(System.IFormatProvider, string, object[]) Method
4+
Logs a debug message.
5+
```csharp
6+
void DebugFormat(System.IFormatProvider formatProvider, string format, params object[] args);
7+
```
8+
#### Parameters
9+
<a name='Gravity-Abstraction-Logging-ILogger-DebugFormat(System-IFormatProvider_string_object--)-formatProvider'></a>
10+
`formatProvider` [System.IFormatProvider](https://docs.microsoft.com/en-us/dotnet/api/System.IFormatProvider 'System.IFormatProvider')
11+
The format provider to use
12+
13+
<a name='Gravity-Abstraction-Logging-ILogger-DebugFormat(System-IFormatProvider_string_object--)-format'></a>
14+
`format` [System.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System.String')
15+
Format string for the message to log
16+
17+
<a name='Gravity-Abstraction-Logging-ILogger-DebugFormat(System-IFormatProvider_string_object--)-args'></a>
18+
`args` [System.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System.Object')[[]](https://docs.microsoft.com/en-us/dotnet/api/System.Array 'System.Array')
19+
Format arguments for the message to log
20+
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#### [Gravity.Abstraction.Logging](./index.md 'index')
2+
### [Gravity.Abstraction.Logging](./Gravity-Abstraction-Logging.md 'Gravity.Abstraction.Logging').[ILogger](./Gravity-Abstraction-Logging-ILogger.md 'Gravity.Abstraction.Logging.ILogger')
3+
## ILogger.DebugFormat(string, object[]) Method
4+
Logs a debug message.
5+
```csharp
6+
void DebugFormat(string format, params object[] args);
7+
```
8+
#### Parameters
9+
<a name='Gravity-Abstraction-Logging-ILogger-DebugFormat(string_object--)-format'></a>
10+
`format` [System.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System.String')
11+
Format string for the message to log
12+
13+
<a name='Gravity-Abstraction-Logging-ILogger-DebugFormat(string_object--)-args'></a>
14+
`args` [System.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System.Object')[[]](https://docs.microsoft.com/en-us/dotnet/api/System.Array 'System.Array')
15+
Format arguments for the message to log
16+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#### [Gravity.Abstraction.Logging](./index.md 'index')
2+
### [Gravity.Abstraction.Logging](./Gravity-Abstraction-Logging.md 'Gravity.Abstraction.Logging').[ILogger](./Gravity-Abstraction-Logging-ILogger.md 'Gravity.Abstraction.Logging.ILogger')
3+
## ILogger.Error(System.Func&lt;string&gt;) Method
4+
Logs an error message with lazily constructed message. The message will be constructed only if the [IsErrorEnabled](./Gravity-Abstraction-Logging-ILogger-IsErrorEnabled.md 'Gravity.Abstraction.Logging.ILogger.IsErrorEnabled') is true.
5+
```csharp
6+
void Error(System.Func<string> messageFactory);
7+
```
8+
#### Parameters
9+
<a name='Gravity-Abstraction-Logging-ILogger-Error(System-Func-string-)-messageFactory'></a>
10+
`messageFactory` [System.Func&lt;](https://docs.microsoft.com/en-us/dotnet/api/System.Func-1 'System.Func`1')[System.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System.String')[&gt;](https://docs.microsoft.com/en-us/dotnet/api/System.Func-1 'System.Func`1')
11+
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#### [Gravity.Abstraction.Logging](./index.md 'index')
2+
### [Gravity.Abstraction.Logging](./Gravity-Abstraction-Logging.md 'Gravity.Abstraction.Logging').[ILogger](./Gravity-Abstraction-Logging-ILogger.md 'Gravity.Abstraction.Logging.ILogger')
3+
## ILogger.Error(string) Method
4+
Logs an error message.
5+
```csharp
6+
void Error(string message);
7+
```
8+
#### Parameters
9+
<a name='Gravity-Abstraction-Logging-ILogger-Error(string)-message'></a>
10+
`message` [System.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System.String')
11+
The message to log
12+
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#### [Gravity.Abstraction.Logging](./index.md 'index')
2+
### [Gravity.Abstraction.Logging](./Gravity-Abstraction-Logging.md 'Gravity.Abstraction.Logging').[ILogger](./Gravity-Abstraction-Logging-ILogger.md 'Gravity.Abstraction.Logging.ILogger')
3+
## ILogger.Error(string, System.Exception) Method
4+
Logs an error message.
5+
```csharp
6+
void Error(string message, System.Exception exception);
7+
```
8+
#### Parameters
9+
<a name='Gravity-Abstraction-Logging-ILogger-Error(string_System-Exception)-message'></a>
10+
`message` [System.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System.String')
11+
The message to log
12+
13+
<a name='Gravity-Abstraction-Logging-ILogger-Error(string_System-Exception)-exception'></a>
14+
`exception` [System.Exception](https://docs.microsoft.com/en-us/dotnet/api/System.Exception 'System.Exception')
15+
The exception to log
16+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#### [Gravity.Abstraction.Logging](./index.md 'index')
2+
### [Gravity.Abstraction.Logging](./Gravity-Abstraction-Logging.md 'Gravity.Abstraction.Logging').[ILogger](./Gravity-Abstraction-Logging-ILogger.md 'Gravity.Abstraction.Logging.ILogger')
3+
## ILogger.ErrorFormat(System.Exception, System.IFormatProvider, string, object[]) Method
4+
Logs an error message.
5+
```csharp
6+
void ErrorFormat(System.Exception exception, System.IFormatProvider formatProvider, string format, params object[] args);
7+
```
8+
#### Parameters
9+
<a name='Gravity-Abstraction-Logging-ILogger-ErrorFormat(System-Exception_System-IFormatProvider_string_object--)-exception'></a>
10+
`exception` [System.Exception](https://docs.microsoft.com/en-us/dotnet/api/System.Exception 'System.Exception')
11+
The exception to log
12+
13+
<a name='Gravity-Abstraction-Logging-ILogger-ErrorFormat(System-Exception_System-IFormatProvider_string_object--)-formatProvider'></a>
14+
`formatProvider` [System.IFormatProvider](https://docs.microsoft.com/en-us/dotnet/api/System.IFormatProvider 'System.IFormatProvider')
15+
The format provider to use
16+
17+
<a name='Gravity-Abstraction-Logging-ILogger-ErrorFormat(System-Exception_System-IFormatProvider_string_object--)-format'></a>
18+
`format` [System.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System.String')
19+
Format string for the message to log
20+
21+
<a name='Gravity-Abstraction-Logging-ILogger-ErrorFormat(System-Exception_System-IFormatProvider_string_object--)-args'></a>
22+
`args` [System.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System.Object')[[]](https://docs.microsoft.com/en-us/dotnet/api/System.Array 'System.Array')
23+
Format arguments for the message to log
24+
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#### [Gravity.Abstraction.Logging](./index.md 'index')
2+
### [Gravity.Abstraction.Logging](./Gravity-Abstraction-Logging.md 'Gravity.Abstraction.Logging').[ILogger](./Gravity-Abstraction-Logging-ILogger.md 'Gravity.Abstraction.Logging.ILogger')
3+
## ILogger.ErrorFormat(System.Exception, string, object[]) Method
4+
Logs an error message.
5+
```csharp
6+
void ErrorFormat(System.Exception exception, string format, params object[] args);
7+
```
8+
#### Parameters
9+
<a name='Gravity-Abstraction-Logging-ILogger-ErrorFormat(System-Exception_string_object--)-exception'></a>
10+
`exception` [System.Exception](https://docs.microsoft.com/en-us/dotnet/api/System.Exception 'System.Exception')
11+
The exception to log
12+
13+
<a name='Gravity-Abstraction-Logging-ILogger-ErrorFormat(System-Exception_string_object--)-format'></a>
14+
`format` [System.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System.String')
15+
Format string for the message to log
16+
17+
<a name='Gravity-Abstraction-Logging-ILogger-ErrorFormat(System-Exception_string_object--)-args'></a>
18+
`args` [System.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System.Object')[[]](https://docs.microsoft.com/en-us/dotnet/api/System.Array 'System.Array')
19+
Format arguments for the message to log
20+
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#### [Gravity.Abstraction.Logging](./index.md 'index')
2+
### [Gravity.Abstraction.Logging](./Gravity-Abstraction-Logging.md 'Gravity.Abstraction.Logging').[ILogger](./Gravity-Abstraction-Logging-ILogger.md 'Gravity.Abstraction.Logging.ILogger')
3+
## ILogger.ErrorFormat(System.IFormatProvider, string, object[]) Method
4+
Logs an error message.
5+
```csharp
6+
void ErrorFormat(System.IFormatProvider formatProvider, string format, params object[] args);
7+
```
8+
#### Parameters
9+
<a name='Gravity-Abstraction-Logging-ILogger-ErrorFormat(System-IFormatProvider_string_object--)-formatProvider'></a>
10+
`formatProvider` [System.IFormatProvider](https://docs.microsoft.com/en-us/dotnet/api/System.IFormatProvider 'System.IFormatProvider')
11+
The format provider to use
12+
13+
<a name='Gravity-Abstraction-Logging-ILogger-ErrorFormat(System-IFormatProvider_string_object--)-format'></a>
14+
`format` [System.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System.String')
15+
Format string for the message to log
16+
17+
<a name='Gravity-Abstraction-Logging-ILogger-ErrorFormat(System-IFormatProvider_string_object--)-args'></a>
18+
`args` [System.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System.Object')[[]](https://docs.microsoft.com/en-us/dotnet/api/System.Array 'System.Array')
19+
Format arguments for the message to log
20+
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#### [Gravity.Abstraction.Logging](./index.md 'index')
2+
### [Gravity.Abstraction.Logging](./Gravity-Abstraction-Logging.md 'Gravity.Abstraction.Logging').[ILogger](./Gravity-Abstraction-Logging-ILogger.md 'Gravity.Abstraction.Logging.ILogger')
3+
## ILogger.ErrorFormat(string, object[]) Method
4+
Logs an error message.
5+
```csharp
6+
void ErrorFormat(string format, params object[] args);
7+
```
8+
#### Parameters
9+
<a name='Gravity-Abstraction-Logging-ILogger-ErrorFormat(string_object--)-format'></a>
10+
`format` [System.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System.String')
11+
Format string for the message to log
12+
13+
<a name='Gravity-Abstraction-Logging-ILogger-ErrorFormat(string_object--)-args'></a>
14+
`args` [System.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System.Object')[[]](https://docs.microsoft.com/en-us/dotnet/api/System.Array 'System.Array')
15+
Format arguments for the message to log
16+

0 commit comments

Comments
 (0)