Skip to content

Commit

Permalink
Merge pull request #67 from mattn/log-level
Browse files Browse the repository at this point in the history
Rename logfile/loglevel to log-file/log-level
  • Loading branch information
mattn authored Nov 8, 2020
2 parents aedf847 + 9b12642 commit 42044d6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ If you want to debug output of commands:
```yaml
version: 2
logfile: /path/to/output.log
loglevel: 1
log-file: /path/to/output.log
log-level: 1
```
### Configuration for [vim-lsp](https://github.com/prabirshrestha/vim-lsp/)
Expand Down
4 changes: 2 additions & 2 deletions langserver/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import (
// Config is
type Config struct {
Version int `yaml:"version"`
LogFile string `yaml:"logfile"`
LogLevel int `yaml:"loglevel"`
LogFile string `yaml:"log-file"`
LogLevel int `yaml:"log-level"`
Commands []Command `yaml:"commands"`
Languages map[string][]Language `yaml:"languages"`
RootMarkers []string `yaml:"root-markers"`
Expand Down
4 changes: 2 additions & 2 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,11 @@
},
"type": "array"
},
"logfile": {
"log-file": {
"description": "path to log file",
"type": "string"
},
"loglevel": {
"log-level": {
"description": "log level",
"type": "number"
},
Expand Down

0 comments on commit 42044d6

Please sign in to comment.