3 Logger is a small component to log various messages to disk.
8 * Split log file after a certain size (50 MB) and zip old files.
9 * Multi level logging: debug, info, warning, error, fatal
10 * Log these informations:
14 * Thread name and its number
19 Samples to log to a directory located in the user space:
24 let userApplicationDirectory = System.IO.Path.Combine (System.Environment.GetFolderPath System.Environment.SpecialFolder.ApplicationData, "My Application")
25 Log.LogDirectory <- System.IO.Path.Combine (userApplicationDirectory, "Log")
28 Log.Info "V equals %i" 42
34 var userApplicationDirectory = System.IO.Path.Combine(System.Environment.GetFolderPath(System.Environment.SpecialFolder.ApplicationData), "My Application");
35 Log.LogDirectory = System.IO.Path.Combine(userApplicationDirectory, "Log");
38 Log.INFO("V equals {0}", 42);