Class FileLoggingService
Logs to a local file
Inheritance
System.Object
FileLoggingService
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Onbox.Core.V8.Logging
Assembly: Onbox.Core.dll
Syntax
public class FileLoggingService : ILoggingService
Constructors
| Improve this Doc View SourceFileLoggingService(FileLoggingSettings)
Constructor
Declaration
public FileLoggingService(FileLoggingSettings settings)
Parameters
Type | Name | Description |
---|---|---|
FileLoggingSettings | settings |
Methods
| Improve this Doc View SourceError(String)
Logs an error to the .log file
Declaration
public Task Error(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Exception(Exception)
Logs an exception to the .log file
Declaration
public Task Exception(Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | exception |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Log(String)
Logs a message to the .log file
Declaration
public Task Log(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Warning(String)
Logs a warning to the .log file
Declaration
public Task Warning(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |