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
<PackageReference Include="Movensys.LogHelper.WinForms" Version="1.5.3" />
<PackageVersion Include="Movensys.LogHelper.WinForms" Version="1.5.3" />
<PackageReference Include="Movensys.LogHelper.WinForms" />
paket add Movensys.LogHelper.WinForms --version 1.5.3
#r "nuget: Movensys.LogHelper.WinForms, 1.5.3"
#:package Movensys.LogHelper.WinForms@1.5.3
#addin nuget:?package=Movensys.LogHelper.WinForms&version=1.5.3
#tool nuget:?package=Movensys.LogHelper.WinForms&version=1.5.3
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
MaxRowsproperty. 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 | Versions 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. |
-
.NETFramework 4.5
- Movensys.LogHelper.Core (>= 1.5.6)
-
.NETFramework 4.5.1
- Movensys.LogHelper.Core (>= 1.5.6)
-
.NETFramework 4.5.2
- Movensys.LogHelper.Core (>= 1.5.6)
-
.NETFramework 4.6
- Movensys.LogHelper.Core (>= 1.5.6)
-
.NETFramework 4.6.1
- Movensys.LogHelper.Core (>= 1.5.6)
-
.NETFramework 4.6.2
- Movensys.LogHelper.Core (>= 1.5.6)
-
.NETFramework 4.7
- Movensys.LogHelper.Core (>= 1.5.6)
-
.NETFramework 4.7.1
- Movensys.LogHelper.Core (>= 1.5.6)
-
.NETFramework 4.7.2
- Movensys.LogHelper.Core (>= 1.5.6)
-
.NETFramework 4.8
- Movensys.LogHelper.Core (>= 1.5.6)
-
.NETFramework 4.8.1
- Movensys.LogHelper.Core (>= 1.5.6)
-
net5.0-windows7.0
- Movensys.LogHelper.Core (>= 1.5.6)
-
net8.0-windows7.0
- Movensys.LogHelper.Core (>= 1.5.6)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.