Developer Activity Logger is a Visual Studio Code extension designed to track and log all developer activity, including file changes, workspace updates, and configurations. It ensures a seamless logging process and integrates with a Git repository to periodically save and push the logs for review and analysis.
Features
Activity Tracking:
Logs file open, close, save, and modification events.
Tracks workspace folder changes, file creation, deletion, and renaming.
Captures configuration changes and document state transitions.
Git Integration:
Automatically commits and pushes logs to a remote Git repository.
Hourly updates with customizable intervals.
Final log commits during VS Code shutdown or extension termination.
Smart Logging:
Avoids logging if no files are open in the workspace.
Skips redundant Git operations when no updates have occurred in the log file.
User-Friendly Commands:
Start and stop tracking with easy-to-use commands:
Devlog: Start to begin logging.
Devlog: Terminate to stop logging.
Configurable Log Directory:
Logs are saved in a structured developer_logs folder inside a cloned Git repository.
Log files are named by date for easy organization.
Installation
Download and Install:
Install the extension from the Visual Studio Code marketplace (if available) or clone this repository.
Activate the Extension:
Open the command palette (Ctrl+Shift+P or Cmd+Shift+P) in VS Code.
Use the Devlog: Start command to begin tracking.
Repository Setup:
When starting for the first time, create and provide a Git repository URL (where all the logs of vscode activity according to the day will be saved) for cloning.
Ensure you have appropriate permissions to push changes to the remote repository.
Usage
Starting the Logger
Open the command palette (Ctrl+Shift+P or Cmd+Shift+P).
Run the command Devlog: Start.
Enter your GitHub repository URL when prompted.
Stopping the Logger
Open the command palette.
Run the command Devlog: Terminate.
Log File Format
Logs are stored in a file named by the current date (e.g., 2024-12-28.log) and include:
Timestamps in your local timezone.
Events such as file modifications, openings, closings, saves, and more.