Git Product home page Git Product logo

c2-logs's Introduction

c2-logs

Capture, filter and analyze logs from Chatterino without restarting the application on Windows. You can download a prebuilt application from the releases tab. This program uses Windows' Debugger API to capture logs from Chatterino and calls QLoggingCategory::setFilterRules.

Usage

  1. Open Chatterino regularly
  2. Run c2-logs chatterino.*.debug=true (if you don't have it in your PATH, run it using .\c2-logs.exe)

You can specify multiple rules. To enable debug logging from Chatterino while excluding the chatterino.http category, run c2-logs chatterino.*.debug=true chatterino.http.debug=false. Check Qt's documentation on the logging rules.

Usage: c2-logs.exe [OPTIONS] [RULES]...

Arguments:
  [RULES]...  Qt filter rules (e.g. *.debug=true or foo.bar.debug=false) multiple rules will be joined by a newline

Options:
      --exe <EXECUTABLE>  Use this to specify the name of the chatterino executable. [default: chatterino.exe]
      --pid <PID>         Use this to specify a specific process-id to attach to.
  -o <OUTPUT_FILE>        Output to a file instead

Building

To build the program, you need to have Rust installed.

cargo build -r

Installing

To install the program with cargo, run

cargo install c2-logs

c2-logs's People

Contributors

dependabot[bot] avatar nerixyz avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.