HelperFunctionsLoggingInitializeLog Method |
This method defines the Log file. If this is not called, it will be called automatically at the first use.
Namespace:
AHL
Assembly:
AHL (in AHL.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static void InitializeLog(
string logFileName = "LogFile",
string extension = "log"
)
Public Shared Sub InitializeLog (
Optional logFileName As String = "LogFile",
Optional extension As String = "log"
)
public:
static void InitializeLog(
String^ logFileName = L"LogFile",
String^ extension = L"log"
)
static member InitializeLog :
?logFileName : string *
?extension : string
(* Defaults:
let _logFileName = defaultArg logFileName "LogFile"
let _extension = defaultArg extension "log"
*)
-> unit
Parameters
- logFileName (Optional)
- Type: SystemString
This is a string defining the Filename for the Log. This will reside in the same folder of the application. - extension (Optional)
- Type: SystemString
This is a string defining the extension for the log (minus the "."). It's just cosmetic. Default value is ".log".
See Also