Create logs with a html format with a Visual Studio 2013 style.

Example

Example 3.PNG

Code

                //Optional Properties
                Log.Title = tbPageTitle.Text;
                Log.Header = tbHeader.Text;
                Log.ProjectName = tbProject.Text;
                Log.ProjectPath = tbProjectPath.Text;
                Log.Folder = Application.StartupPath;

                Log.ExpandErrors = cbExpandErrors.Checked;
                Log.ExpandWarnings = cbExpandWarnings.Checked;
                Log.ExpandMessages = cbExpandMessages.Checked;
                Log.ExpandSuccesses = cbExpandSuccesses.Checked;
                //end

                //At least one
                Log.Exceptions.Add(new Exception("Error!"));
                Log.Exceptions.Add("<strong>WHOA!</strong> Big exception.");
                Log.Warnings.Add("Another Warning");
                Log.Messages.Add("A blue messages");
                Log.Successes.Add("Alright");
                //end

                Log.Me();
                Log.Clean();

Test Application

Example.png

Last edited Jun 14, 2014 at 8:42 PM by NickeManarin, version 7