Show / Hide Table of Contents

Class TelemetryLogConfig

Configuration values for the built in rolling telemetry log file process.

Inheritance
System.Object
TelemetryLogConfig
Implements
ICloudShareSyncConfig
Namespace: Cloud_ShareSync.Core.Configuration.Types
Assembly: Cloud-ShareSync.Core.Configuration.dll
Syntax
public class TelemetryLogConfig : object, ICloudShareSyncConfig

Properties

| Improve this Doc View Source

FileName

The file name and extension for the telemetry rolling log file.

If RolloverCount is greater than 0 then logs will roll over and be renamed with the format "{FileName}.{LogNumber}.{Extension}" once the MaximumSize has been met.
Declaration
public string FileName { get; set; }
Property Value
Type Description
System.String

Cloud-ShareSync-Telemetry.log

| Improve this Doc View Source

LogDirectory

The path, either relative or complete, to the directory where the rolling log files should be output.

Declaration
public string LogDirectory { get; set; }
Property Value
Type Description
System.String
Path.Join( , "log" )
| Improve this Doc View Source

MaximumSize

The maximum size, in megabytes, that each log should get to before rolling over into a new file.

Declaration
public int MaximumSize { get; set; }
Property Value
Type Description
System.Int32

5

| Improve this Doc View Source

RolloverCount

The number of MaximumSize log files to keep.

Declaration
public int RolloverCount { get; set; }
Property Value
Type Description
System.Int32

5

Methods

| Improve this Doc View Source

ToString()

Returns the TelemetryLogConfig as a json string.

Declaration
public override string ToString()
Returns
Type Description
System.String

Implements

ICloudShareSyncConfig
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
About Me | Open Source Acknowledgements | Security
☀
☾