IdeaBlade DevForce 2010 Help Reference
LogFile Property
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core.Configuration Namespace > LoggingElement Class : LogFile Property



Gets or sets the path and file name where the log file should be written.

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("Path and file name where log file should be written. If no path is provided the file will be written to the executable's directory ")>
<XmlAttributeAttribute("logFile")>
Public Property LogFile As String
Visual Basic (Usage)Copy Code
Dim instance As LoggingElement
Dim value As String
 
instance.LogFile = value
 
value = instance.LogFile
C# 
[DescriptionAttribute("Path and file name where log file should be written. If no path is provided the file will be written to the executable's directory ")]
[XmlAttributeAttribute("logFile")]
public string LogFile {get; set;}
C++/CLI 
[DescriptionAttribute("Path and file name where log file should be written. If no path is provided the file will be written to the executable's directory ")]
[XmlAttributeAttribute("logFile")]
public:
property String^ LogFile {
   String^ get();
   void set (    String^ value);
}

Remarks

If no path is provided the file will be written to the executable's directory, or if running under IIS the directory containing the web.config file. Relative paths are also supported. You can turn off creation of the log file altogether by setting the property value to an empty string.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.