Skip to content

Instantly share code, notes, and snippets.

@gromlin2
gromlin2 / protoc_logging_example.py
Created May 29, 2023 22:33
Logging in a protoc plugin
#!/usr/bin/env python3
import logging
import sys
from google.protobuf.compiler.plugin_pb2 import (
CodeGeneratorResponse,
CodeGeneratorRequest,
)
{
"name": "sustainapool",
"description": "We put a special emphasis on running our pool in a environmentally sustainable fashion. One of our biggest excitement about Cardano is PoS and its superiority in terms of environmental impact. Together we can make the world a better place.",
"ticker": "STSPL",
"homepage": "http://sustainapool.org"
}