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.
- Host: GitHub
- URL: https://github.com/colinfang/pylogging.jl
- Owner: colinfang
- License: other
- Created: 2016-01-27T12:59:32.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-05-13T23:45:17.000Z (about 5 years ago)
- Last Synced: 2025-02-10T12:42:53.610Z (4 months ago)
- Language: Julia
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# PyLogging.jl
[](https://travis-ci.org/colinfang/PyLogging.jl)
## Overview
This is a Julia wrapper for Python logging package.
## Example
```{julia}
using PyLoggingPyLogging.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())"
```