File tree Expand file tree Collapse file tree 5 files changed +81
-32
lines changed
Expand file tree Collapse file tree 5 files changed +81
-32
lines changed Original file line number Diff line number Diff line change 11environment :
22 matrix :
33 - julia_version : 1.0
4- - julia_version : 1.1
5- - julia_version : 1.2
6- - julia_version : 1.3
7- - julia_version : 1.4
4+ - julia_version : 1
85 - julia_version : nightly
96
107platform :
Original file line number Diff line number Diff line change 1+ name : TagBot
2+ on :
3+ schedule :
4+ - cron : 0 * * * *
5+ jobs :
6+ TagBot :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : JuliaRegistries/TagBot@v1
10+ with :
11+ token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ push :
4+ branches : [master]
5+ tags : ["*"]
6+ pull_request :
7+ jobs :
8+ test :
9+ name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
10+ runs-on : ${{ matrix.os }}
11+ strategy :
12+ fail-fast : false
13+ matrix :
14+ version :
15+ - ' 1.0'
16+ - ' 1' # automatically expands to the latest stable 1.x release of Julia
17+ - nightly
18+ os :
19+ - ubuntu-latest
20+ arch :
21+ - x64
22+ - x86
23+ include :
24+ # test macOS and Windows with latest Julia only
25+ - os : macOS-latest
26+ arch : x64
27+ version : 1
28+ - os : windows-latest
29+ arch : x64
30+ version : 1
31+ - os : windows-latest
32+ arch : x86
33+ version : 1
34+ steps :
35+ - uses : actions/checkout@v2
36+ - uses : julia-actions/setup-julia@v1
37+ with :
38+ version : ${{ matrix.version }}
39+ arch : ${{ matrix.arch }}
40+ - uses : actions/cache@v1
41+ env :
42+ cache-name : cache-artifacts
43+ with :
44+ path : ~/.julia/artifacts
45+ key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
46+ restore-keys : |
47+ ${{ runner.os }}-test-${{ env.cache-name }}-
48+ ${{ runner.os }}-test-
49+ ${{ runner.os }}-
50+ - uses : julia-actions/julia-buildpkg@v1
51+ - uses : julia-actions/julia-runtest@v1
52+ - uses : julia-actions/julia-processcoverage@v1
53+ - uses : codecov/codecov-action@v1
54+ with :
55+ file : lcov.info
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11# LogCompose
22
3- [ ![ Build Status] ( https://travis-ci.org /tanmaykm/LogCompose.jl.png )] ( https://travis-ci.org /tanmaykm/LogCompose.jl )
3+ [ ![ Build Status] ( https://github.com /tanmaykm/LogCompose.jl/workflows/CI/badge.svg )] ( https://github.com /tanmaykm/LogCompose.jl/actions?query=workflow%3ACI+branch%3Amaster )
44[ ![ Build Status] ( https://ci.appveyor.com/api/projects/status/github/tanmaykm/LogCompose.jl?branch=master&svg=true )] ( https://ci.appveyor.com/project/tanmaykm/logroller-jl/branch/master )
5- [ ![ Coverage Status ] ( https ://coveralls .io/repos/ github/tanmaykm/LogCompose.jl/badge .svg?branch=master)] ( https ://coveralls .io/github/tanmaykm/LogCompose.jl?branch=master)
5+ [ ![ codecov.io ] ( http ://codecov .io/github/tanmaykm/LogCompose.jl/coverage .svg?branch=master)] ( http ://codecov .io/github/tanmaykm/LogCompose.jl?branch=master)
66
77Provides a way to specify hierarchical logging configuration in a file.
88
@@ -61,6 +61,18 @@ There are external packages that provide support for a few other types of logger
6161- LogRoller: [LogRollerCompose.jl](https://github.com/tanmaykm/LogRollerCompose.jl)
6262- SyslogLogging: [SyslogLoggingCompose.jl](https://github.com/tanmaykm/SyslogLoggingCompose.jl)
6363
64+ For loggers supplied by external packages, LogCompose looks for the logger implementation type
65+ (the one mentioned in `type` configuration attribute) in the `Main` module by default. But if
66+ your code imports the external loggers within your module instead of the Main module, then the
67+ module name where the logger type can be found must be specified in the (otherwise optional)
68+ `topmodule` configuration parameter. E.g.:
69+
70+ ```
71+ [ loggers.rollinglog]
72+ type = "LogRoller.RollingFileLogger"
73+ topmodule = "MyModule"
74+ ...
75+ ```
6476
6577## Examples
6678
You can’t perform that action at this time.
0 commit comments