Skip to content

Releases: KenanExe/Kenan.Logging

v1.6.0 - Cleaner LogLevel usage

Choose a tag to compare

@KenanExe KenanExe released this 03 Oct 14:56

Breaking change: LogLevel enum is now a top-level type in the Kenan.Logging namespace. Use LogLevel.Warning instead of LoggingService.LogLevel.Warning.

v1.5.0 - XML Documentation & IntelliSense Support

Choose a tag to compare

@KenanExe KenanExe released this 19 Sep 17:58

What's Changed

  • Added XML documentation (<summary>, <param>) to LoggingService, LogLevel, and Log() method.
  • Enhanced IntelliSense tooltips for better developer experience and auto-completion context.

v1.4.0 - Added Log Level Formatting

Choose a tag to compare

@KenanExe KenanExe released this 17 Sep 19:25

🚀 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

Choose a tag to compare

@KenanExe KenanExe released this 16 Sep 11:47

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

Choose a tag to compare

@KenanExe KenanExe released this 15 Sep 17:34

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, and Error levels.
  • Overload / Parameter Support: Added support for specifying the message type via Log("Message", LogLevel.Info).
  • Fallback / Unknown Level Handling: Thanks to the default case in the switch statement, unrecognized or unexpected levels automatically fall back to Unknown mode and logging continues without interruption.

v1.1.0 - Initial Release

Choose a tag to compare

@KenanExe KenanExe released this 15 Sep 10:28

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:ss timestamp.
  • 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.