Click or drag to resize

HTMLLog Class

Base class for HTML log file writers. It is handling log file rolling, i.e. when a new mysim.html log file is created, the existing is renamed to mysim01.html, and the mysim01.html is renamed to mysim02.html etc. up til MaxNumberOfFileBackups.
Inheritance Hierarchy

Namespace:  DHI.Mike1D.SimLauncher
Assembly:  DHI.Mike1D.SimLauncher (in DHI.Mike1D.SimLauncher.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
public abstract class HTMLLog

The HTMLLog type exposes the following members.

Constructors
  NameDescription
Protected methodHTMLLog
Initializes a new instance of the HTMLLog class
Top
Properties
  NameDescription
Public propertyFilePath
The file path of the html summary file.
Public propertyMaxNumberOfFileBackups
Number of backups of the error log. If a *name*.html log file exists, then it is backed up with a *name*01.html ending. If *name*01.html exists, then it is moved to *name*02.html etc. MaxNumberOfErrorLogFileBackups is the last number of the backed up files. The last backed up file is deleted. The default value is 10.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWrite
Write log to disk
Protected methodWriteHTMLContent
Write HTML content
Top
Fields
  NameDescription
Protected field_filePath
Name and path of html log file
Top
See Also