Show / Hide Table of Contents

Class FileConfig

Logging to file configuration object

Inheritance
object
LogConfig
FileConfig
Inherited Members
LogConfig.Level
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Cognite.Extractor.Logging
Assembly: Cognite.Logging.dll
Syntax
public class FileConfig : LogConfig

Properties

| Edit this page View Source

Path

Path to the location where the logs will be saved. Example: 'logs/log.txt' will create log files with log prefix followed by a date as suffix, and txt as extension in the logs folder.

Declaration
public string? Path { get; set; }
Property Value
Type Description
string

Path to file

| Edit this page View Source

RetentionLimit

The maximum number of log files that will be retained in the log folder.

Declaration
public int RetentionLimit { get; set; }
Property Value
Type Description
int

Maximum number of files

| Edit this page View Source

RollingInterval

Rolling interval for log files.

Declaration
public string RollingInterval { get; set; }
Property Value
Type Description
string

One of 'day', 'hour'. Defaults to 'day'

Extension Methods

DataModelUtils.GetOrCreateResourcesAsync<T, T2>(T2, IEnumerable<InstanceIdentifier>, Func<IEnumerable<InstanceIdentifier>, IEnumerable<SourcedNodeWrite<T>>>, Func<IEnumerable<SourcedNodeWrite<T>>, SanitationMode, (IEnumerable<SourcedNodeWrite<T>>, IEnumerable<CogniteError<SourcedNodeWrite<T>>>)>, int, int, RetryMode, SanitationMode, CancellationToken)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX