ConsoleLogger Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| ConsoleLogger(LoggingSettings) | |
| ConsoleLogger(IServiceProvider) | |
| ConsoleLogger(String, LogLevel) |
ConsoleLogger(LoggingSettings)
public ConsoleLogger(Microsoft.Teams.Common.Logging.LoggingSettings settings);
new Microsoft.Teams.Common.Logging.ConsoleLogger : Microsoft.Teams.Common.Logging.LoggingSettings -> Microsoft.Teams.Common.Logging.ConsoleLogger
Public Sub New (settings As LoggingSettings)
Parameters
- settings
- LoggingSettings
Applies to
ConsoleLogger(IServiceProvider)
public ConsoleLogger(IServiceProvider provider);
new Microsoft.Teams.Common.Logging.ConsoleLogger : IServiceProvider -> Microsoft.Teams.Common.Logging.ConsoleLogger
Public Sub New (provider As IServiceProvider)
Parameters
- provider
- IServiceProvider
Applies to
ConsoleLogger(String, LogLevel)
public ConsoleLogger(string? name = default, Microsoft.Teams.Common.Logging.LogLevel level = Microsoft.Teams.Common.Logging.LogLevel.Info);
new Microsoft.Teams.Common.Logging.ConsoleLogger : string * Microsoft.Teams.Common.Logging.LogLevel -> Microsoft.Teams.Common.Logging.ConsoleLogger
Public Sub New (Optional name As String = Nothing, Optional level As LogLevel = Microsoft.Teams.Common.Logging.LogLevel.Info)
Parameters
- name
- String
- level
- LogLevel