| TextWriterLogger Class |
Namespace: Grpc.Core.Logging
The TextWriterLogger type exposes the following members.
| Name | Description | |
|---|---|---|
| TextWriterLogger(FuncTextWriter) |
Creates a console logger not associated to any specific type and writes to a System.IO.TextWriter obtained from given provider.
User is responsible for providing an instance of TextWriter that is thread-safe.
| |
| TextWriterLogger(TextWriter) |
Creates a console logger not associated to any specific type and writes to given System.IO.TextWriter.
User is responsible for providing an instance of TextWriter that is thread-safe.
| |
| TextWriterLogger(FuncTextWriter, Type) | Creates a console logger that logs messsage specific for given type. |
| Name | Description | |
|---|---|---|
| AssociatedType | Gets the type associated with this logger. |
| Name | Description | |
|---|---|---|
| Debug(String) | Logs a message with severity Debug. | |
| Debug(String, Object) | Logs a formatted message with severity Debug. | |
| Equals | (Inherited from Object.) | |
| Error(String) | Logs a message with severity Error. | |
| Error(Exception, String) | Logs a message and an associated exception with severity Error. | |
| Error(String, Object) | Logs a formatted message with severity Error. | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| ForTypeT |
Returns a logger associated with the specified type.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Info(String) | Logs a message with severity Info. | |
| Info(String, Object) | Logs a formatted message with severity Info. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Warning(String) | Logs a message with severity Warning. | |
| Warning(Exception, String) | Logs a message and an associated exception with severity Warning. | |
| Warning(String, Object) | Logs a formatted message with severity Warning. |