Click or drag to resize
ILogProvider Interface
The interface for objects that abstract away the environment for ILog implementations.

Namespace: VirtualRadar.Interface
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public interface ILogProvider

The ILogProvider type exposes the following members.

Properties
  NameDescription
Public propertyCurrentThreadId
Gets the ID number of the current thread.
Top
Methods
  NameDescription
Public methodAppendAllText
Appends the text to the file passed across. If the file does not exist then it is created.
Public methodCreateFolder
Creates the folder if it doesn't exist.
Public methodFileExists
Returns true if the file described by the fullPath exists.
Public methodFolderExists
Returns true if the folder exists.
Public methodGetTail
Returns the last so-many lines of log, or all of them if < 1 lines are requested.
Public methodTruncateTo
Truncates the file to the last so-many bytes in the original.
Top
See Also