An open API service indexing awesome lists of open source software.

https://github.com/colinfang/pylogging.jl

Julia wrapper for Python Logging.
https://github.com/colinfang/pylogging.jl

Last synced: about 2 months ago
JSON representation

Julia wrapper for Python Logging.

Awesome Lists containing this project

README

        

# PyLogging.jl

[![Build Status](https://travis-ci.org/colinfang/PyLogging.jl.svg?branch=master)](https://travis-ci.org/colinfang/PyLogging.jl)

## Overview

This is a Julia wrapper for Python logging package.

## Example

```{julia}
using PyLogging

PyLogging.basicConfig(
level=PyLogging.INFO,
format="%(asctime)s - %(name)s - %(message)s"
)

root = getLogger()
loggerA = getLogger("a")

@debug loggerA "debug"
@info loggerA "info"

# Not trigger error().
@debug loggerA "$(error())"
# Trigger error().
@info loggerA "$(error())"
```