Show / Hide Table of Contents

Class SdkLoggingConfig

Cognite Sdk logging configuration

Inheritance
object
SdkLoggingConfig
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Cognite.Extractor.Utils
Assembly: ExtractorUtils.dll
Syntax
public class SdkLoggingConfig

Properties

| Edit this page View Source

Disable

Disables Sdk logging

Declaration
public bool Disable { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

Format

Format of the log message. Default is "CDF ({Message}): {HttpMethod} {Url} {ResponseHeader[X-Request-ID]} - {Elapsed} ms"

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

String format

| Edit this page View Source

Level

Cognite Sdk logs are diplayed using this level.

Declaration
public LogLevel Level { get; set; }
Property Value
Type Description
LogLevel

One of the LogLevel levels, case insensitive

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