The LogFolderPath property sets the folder in which the log file 'mCoreLib.log'
is written. The value returned by the property LogSize
and the action of ClearLog method is also dependent on the value of
LogFolderPath.
Namespace: mCore
Assembly: mCoreLib (in mCoreLib.dll)
| Visual Basic |
|
Public Class MyClass |
| C# |
| class MyClass { public mCore.SMS objSMS = new mCore.SMS(); public static void InitializeLog() { try { objSMS.LogFolderPath = "C:\\MyLogs"; if (objSMS.LogSize > 500) { objSMS.ClearLog(10); } objSMS.LogType = mCore.LogType.ErrorEventLog; } catch
(mCore.GeneralException e) |
mCore.SMS.LogType Property
mCore.SMS.LogSize Property
mCore.SMS.DebugMode Property
mCore.SMS.ClearLog Method