Skip to main content

Kumparan Log Format

Project description

# kumlog
Kumparan Logging Json Format

# Example Usage

def main():
logger.debug("test DEBUG logger")"test INFO logger")
logger.warning("test WARNING logger")
logger.error("test ERROR logger")
logger.critical("test CRITICAL logger")

raise ValueError("Input is not valid")
except Exception as e:

raise OSError("not found")
except Exception as e:

if __name__ == '__main__':
# Setup the logging handler and the formatter
handler = logging.StreamHandler(stream=sys.stdout)
formatter = StackdriverLoggingFormatter(service_name="stackdriver-logging",
service_version="latest", environment="staging")



Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for kummis, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size kummis-0.0.1.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View
Filename, size kummis-0.0.1-py2.py3-none-any.whl (6.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page