tippinggame/f8framework/f8-features-log-workflow

Claude Code and agent skill by tippinggame/f8framework

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when implementing or troubleshooting Log feature workflows — logging, file writing, error reporting, LogViewer, and debug commands in F8Framework.

Install

npx vskill@latest install tippinggame/f8framework/f8-features-log-workflow

SKILL.md

The same SKILL.md was published earlier as tippinggame/f8framework/f8-features-log-workflow.

Log Feature Workflow

⚠️ IMPORTANT: Before using this feature, you MUST formally initialize F8Framework in the launch sequence. Ensure ModuleCenter.Initialize(this); has run first, then create the required module, for example FF8.LogWriter = ModuleCenter.CreateModule<F8LogWriter>();.

Use this skill when

  • The task is about logging, debug output, file-based log writing, or error reporting.
  • The user asks about LogViewer, cheat codes, or debug commands.

Path resolution

  1. Prefer project source at Assets/F8Framework.
  2. For usage docs, read: Assets/F8Framework/Tests/Log/README.md

Sources of truth

  • Runtime module: Assets/F8Framework/Runtime/Log
  • Test docs: Assets/F8Framework/Tests/Log

Key classes and interfaces

ClassRole
LogF8Static logging class. Multiple log channels and utility methods.
LogWriterModule for file-based log writing. Access via FF8.LogWriter.
FunctionLogViewer command system.

API quick reference

Basic logging
csharp
LogF8.Log(message); // General log
LogF8.Log("Format {0}", 1); // Formatted log
LogF8.Log("Message", this); // With object context (clickable in Console)
LogF8.LogNet("Network {0}", "data"); // Network channel
LogF8.LogEvent(data); // Event channel
LogF8.LogConfig(data); // Config channel
LogF8.LogView(data); // View channel
LogF8.LogEntity(data); // Entity channel
LogF8.LogStackTrace("Stack trace"); // With stack trace
Thread-safe logging
csharp
LogF8.LogToMainThread("From background thread");
LogF8.LogErrorToMainThread("Error from background thread");
Log control
csharp
LogF8.EnabledLog(); // Enable logging
LogF8.DisableLog(); // Disable logging
File writing
csharp
FF8.LogWriter.OnEnterGame(); // Start writing logs to file
Error capture
csharp
LogF8.GetCrashErrorMessage(); // Start capturing error logs
Performance monitoring
csharp
LogF8.Watch(); // Start monitoring
LogF8.Log(LogF8.UseMemory); // Memory usage
LogF8.Log(LogF8.UseTime); // Time elapsed
LogViewer commands
csharp
// Add debug command to LogViewer
Function.Instance.AddCommand(this, "MethodName", new object[] { param });
// Add cheat code callback
Function.Instance.AddCheatKeyCallback((cheatKey) =>
{
LogF8.Log("Cheat: " + cheatKey);
});
LogViewer activation
  • Keyboard: press tilde key ~
  • Mobile: five-finger long press for 1 second

Workflow

  1. Use LogF8.Log() for general-purpose debug output.
  2. Use channel-specific methods for organized logging (Net, Event, Config, View, Entity).
  3. Enable file writing with FF8.LogWriter.OnEnterGame() for production logging.
  4. Add GetCrashErrorMessage() for crash error capture.
  5. Add LogViewer to scene for runtime debug console.
  6. Register debug commands via Function.Instance.AddCommand().

Common error handling

ErrorCauseSolution
Logs not appearingDisableLog() was calledCall EnabledLog()
File write permissionNo write access to log directoryEnsure persistentDataPath is writable
Background thread log crashUsing Unity API from background threadUse LogToMainThread() instead
LogViewer not showingComponent not in sceneAdd LogViewer GameObject or load as asset

Cross-module dependencies

  • None — Log is a foundational utility used by all modules.

Output checklist

  • Logging pattern selected (channel-based, file-based, error capture).
  • LogViewer configuration documented.
  • Files changed and why.
  • Validation status and remaining risks.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
870
Repository forks
139
7-day trend score
34

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/tippinggame/f8framework/f8-features-log-workflow/badge)](https://verified-skill.com/skills/tippinggame/f8framework/f8-features-log-workflow)

Something wrong with this skill or its page? Tell us.