Repository navigation
Releases: KenanExe/Kenan.Logging
Releases · KenanExe/Kenan.Logging
Release list
v1.6.0 - Cleaner LogLevel usage
v1.5.0 - XML Documentation & IntelliSense Support
What's Changed
- Added XML documentation (
<summary>,<param>) toLoggingService,LogLevel, andLog()method. - Enhanced IntelliSense tooltips for better developer experience and auto-completion context.
v1.4.0 - Added Log Level Formatting
🚀 What's Changed
- Format Update: Added log level prefixes (
Info,Warning,Error) to console output formatting.
📝 Example Output
[2026-09-17 19:49:07] Info Program.Main Default message.
[2026-09-17 19:49:07] Warning Program.Main Warning message
[2026-09-17 19:49:07] Error Program.Main Error message
V1.3.0 Dynamic Console Colors & Theme Support
What's Changed (v1.3.0)
Added dynamic console color coding based on log level, along with a color-reset mechanism.
Features & Visual Enhancements
- Dynamic Color Coding: Header, method, and message colors now change dynamically based on the selected
LogLevel(Info, Warning, Error).- Info: Gray / DarkGray
- Warning: Yellow / DarkYellow
- Error: Red / DarkRed
- Unknown: White / Gray
- Color Reset:
Console.ResetColor()is now called after each log entry to preserve the console's default color palette.
v1.2.0 - Added Log Levels
What's Changed (v1.2.0)
Added LogLevel support to the logging system. Output can now be tagged with a message type.
Features & Improvements
- Log Levels: Added
Info,Warning, andErrorlevels. - Overload / Parameter Support: Added support for specifying the message type via
Log("Message", LogLevel.Info). - Fallback / Unknown Level Handling: Thanks to the
defaultcase in the switch statement, unrecognized or unexpected levels automatically fall back toUnknownmode and logging continues without interruption.
v1.1.0 - Initial Release
Initial release of Kenan.Logging — a lightweight logging library that adds timestamped, method-aware log output to your console.
Feature Highlights
- Timestamping — Automatically prefixes every log entry with a
yyyy-MM-dd HH:mm:sstimestamp. - Stack Trace Resolution — Detects the calling class and method (
Class.Method) and highlights it in the console with color. - Console Focus (Win32 API) — Automatically brings the console window to the foreground and makes it visible when a log is written (
GetConsoleWindow,ShowWindow,SetForegroundWindow).
Note: This is a first version — more features and a cleaner design are planned for future releases.