Class FileLoggingSettings
The settings used by FileLoggingService
Inheritance
System.Object
    FileLoggingSettings
  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 FileLoggingSettings
  Properties
| Improve this Doc View SourceCanThrowExceptions
[Default = false] If set to true, FileLoggingService will throw exceptions if it runs into errors
Declaration
public bool CanThrowExceptions { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
FileName
[Default = Onbox.Logging.log] The name of the file used for logging, it will append .log to the filename if not provided
Declaration
public string FileName { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
MaxFileSizeInBytes
[Default = 600000] The maxium size of the logging file, default is 600000 which means 600kb
Declaration
public long? MaxFileSizeInBytes { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Nullable<System.Int64> | 
Path
[Default = %temp%] The full directory path where the file will be saved, if SaveOnCurrentPath = true, this will be ignored
Declaration
public string Path { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
SaveOnCurrentPath
[Default = false] This will ignore the Path property and will save the log in the current directory, USEFUL for RevitIO
WARNING: Setting it to true on a normal desktop scenario should not work because it will try to save it on Revit's main directory
Declaration
public bool SaveOnCurrentPath { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean |