FileLogger Class
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.
File logger, which logs messages to a file.
public class FileLogger : Microsoft.Extensions.Logging.ILogger
type FileLogger = class
interface ILogger
Public Class FileLogger
Implements ILogger
- Inheritance
-
FileLogger
- Implements
Constructors
FileLogger(FileLoggingOutput, String) |
Initializes a new instance of the FileLogger class. |
Methods
BeginScope<TState>(TState) | Begins a logical operation scope. |
IsEnabled(LogLevel) | Checks if the given |
Log<TState>(LogLevel, EventId, TState, Exception, Func<TState,Exception,String>) | Writes a log entry. |