Movensys.LogHelper.WinForms 1.5.3

dotnet add package Movensys.LogHelper.WinForms --version 1.5.3
                    
NuGet\Install-Package Movensys.LogHelper.WinForms -Version 1.5.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Movensys.LogHelper.WinForms" Version="1.5.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Movensys.LogHelper.WinForms" Version="1.5.3" />
                    
Directory.Packages.props
<PackageReference Include="Movensys.LogHelper.WinForms" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Movensys.LogHelper.WinForms --version 1.5.3
                    
#r "nuget: Movensys.LogHelper.WinForms, 1.5.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Movensys.LogHelper.WinForms@1.5.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Movensys.LogHelper.WinForms&version=1.5.3
                    
Install as a Cake Addin
#tool nuget:?package=Movensys.LogHelper.WinForms&version=1.5.3
                    
Install as a Cake Tool

Movensys.LogHelper

This is a function for writing logs in .txt format developed by the Movensys Application Team.

Features

  • Easy to use based on enum
  • Write logs of DEBUG, TRACE, INFORMATION, WARNING, ERROR, FATAL Type
  • Supports auto-compression and auto-delete functions
  • Log history GUI function support
  • Log datagridview GUI feature support
  • Log option setting GUI feature support

Code Highlighting

using Movensys.LogHelper;

namespace WinFormsApp1
{
    //Define Log
    enum MyLogger
    {
        EquipA,
        EquipB,
        EquipC
    }
    enum MachineExample
    {
        Motion,
        Net,
        Com
    }

    internal static class Program
    {
        [STAThread]
        static void Main()
        {
            //Add Init
            LogHelper<MyLogger>.Init(); //Init(true) => Virtual Mode
            LogHelper<MachineExample>.Init(new string[]{"0", "1", "2"});

            //Use Example
            LogHelper<MyLogger>.GetLogger(MyLogger.EquipA).INFOMATION("Process Start!");
            LogHelper<MachineExample>.GetLogger(MachineExample.Motion, "0").INFOMATION("Process Start!");
            LogHelper<MachineExample>.GetLogger(MachineExample.Motion, "1").INFOMATION("Process Start!");
            LogHelper<MachineExample>.GetLogger(MachineExample.Motion, "2").INFOMATION("Process Start!");
            ApplicationConfiguration.Initialize();
            Application.Run(new Form1());
        }
    }
}

Tip

After writing a detailed log, proceed with the operation by activating and deactivating it. You can merge and check the logs written in multiple loggers through History.

Release History

Nov 22, 2026 - 1.5.3 ver (needs LogHelper.Core 1.5.6)<br> LogGridView : Filter ▾ no longer removes rows. The grid keeps the latest Max Rows lines of every section and shows only the ones the filter lets through (VirtualMode), so a line hidden by the filter (also one that arrived while it was hidden) comes back when it is shown again. Up to 1.5.2 hidden rows were deleted and hidden lines were not received at all.<br> LogGridView : Max Rows (10 ~ 100,000, default 80) = number box in the title bar and the MaxRows property. Lowering it drops the oldest lines.<br> LogGridView : lines that arrived are added at once every 50 ms. Up to 1.5.2 one line was added per timer tick (about 16 ms), so with more than about 60 lines per second the grid fell behind and lines beyond 80 waiting were dropped. Measured: 2,000 lines at once = 80 rows and 1.9 s to the last line (1.5.2) → 2,000 rows and 0.2 s (1.5.3).<br> LogGridView : when the last row is in view the grid follows new lines; when scrolled up to read, the shown lines stay where they are.<br>

Nov 12, 2026 - 1.5.2 ver<br> History Viewer : Start · End time range (date + time), Stop button cancels loading (checked per logger × day), Find ▲ Prev / ▼ Next (Enter · Shift+Enter · F3 · Shift+F3, wraps around), grid shows rows in VirtualMode (no per-row add), Log Level checks apply to the loaded log at once, Filter ▾ (Section · Section Type), export = shown rows<br> LogGridView : Filter ▾ (Section · Section Type) = hidden sections are not added to the grid<br> Logger Settings : the property grid shows only the logger selected at the top. Save opens a "Save To" window (the current logger is checked at first, name pattern with , ex) CV__SEQ_INFO, All · None) → the checked loggers get the current logger's settings (Save Path stays per logger, same as Save All) and are saved. Load = the selected logger only<br> LogHelper.Core 1.5.5 reflected : history loading speed (Core 1.5.4) and broken log lines no longer ending the application (Core 1.5.5). The viewer also catches a loading error and shows 'Load Fail' instead of ending the application

Jul 16, 2026 - 1.5.1 ver<br> LogHelper.Core 1.5.1 reflected

Oct 29, 2025 - 1.5.0 ver<br> LogHelper.Core 1.5.0 reflected

July 2, 2025 - 1.4.10 ver<br> LogHelper.Core 1.4.9 reflected

July 2, 2025 - 1.4.9 ver<br> LogHelper.Core 1.4.8 reflected

June 10, 2025 - 1.4.8 ver<br> LogHelper.Core 1.4.7 reflected

June 10, 2025 - 1.4.7 ver<br> Modify timer behavior and Q management scope in LogGridView

May 28, 2025 - 1.4.6 ver<br> LogHelper.Core 1.4.6 reflected

April 30, 2025 - 1.4.5 ver<br> Only the GUI function is separated from the existing LogHelper 1.4.3.

Product Compatible and additional computed target framework versions.
.NET net5.0-windows7.0 is compatible.  net6.0-windows was computed.  net7.0-windows was computed.  net8.0-windows was computed.  net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net10.0-windows was computed. 
.NET Framework net45 is compatible.  net451 is compatible.  net452 is compatible.  net46 is compatible.  net461 is compatible.  net462 is compatible.  net463 was computed.  net47 is compatible.  net471 is compatible.  net472 is compatible.  net48 is compatible.  net481 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.5.3 0 11/23/2026
1.5.0 277 10/29/2025
1.4.10 270 7/2/2025
1.4.9 325 7/2/2025 1.4.9 is deprecated because it is no longer maintained and has critical bugs.
1.4.8 216 6/27/2025
1.4.7 378 6/10/2025
1.4.6 239 5/28/2025
1.4.5 254 4/30/2025