Skip to content

SenaDev2023/retro_console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🕹️ retro_console - DevLog Utility

This repository contains the source code for a lightweight, console-based logging utility designed to manage development logs, structured to mimic a small console application. The primary component is the DevLog v1.0 application (retro_logger.cpp).

✨ Features

The retro_logger application provides a simple command-line interface for managing development entries:

  • Daily Logs: Automatically creates and writes entries to a new log file (log_YYYY-MM-DD.log) each day, stored in the /data directory.
  • Log Levels: Supports standard log levels (debug, info, warning, error, critical) with console color coding.
  • CRUD Operations: Allows for Create, Read (today's or All logs), Update, and Delete (soft-delete) operations directly within the command line interface.
  • Windows API: Leverages Windows API calls for console manipulation (colors, screen clear, title).

🛠️ Building the Project

This project uses CMake for cross-platform build configuration (though the C++ code is currently Windows-specific due to the use of <windows.h> and _mkdir).

Prerequisites

  • A C++ Compiler (e.g., GCC, Clang, MSVC)
  • CMake (version 3.15 or newer is recommended)
  • Git

Steps to Compile (Command Line)

  1. Clone the Repository:

    git clone [https://github.com/YourUsername/retro_console.git](https://github.com/YourUsername/retro_console.git)
    cd retro_console
  2. Configure CMake: This command generates the necessary build files (like Visual Studio solutions or Makefiles) in the build directory.

    cmake -S . -B build
  3. Build the Executable: This command compiles the code.

    cmake --build build

Running the Application

The executable will be generated within the build directory (e.g., build/Debug/retro_logger.exe or similar, depending on your compiler).

To run the logger:

.\build\Debug\retro_logger.exe

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published