Skip to content

Commit

Permalink
Merge pull request #2 from japerry911/japerry911/imp/v0.1.1
Browse files Browse the repository at this point in the history
Japerry911/imp/v0.1.1
  • Loading branch information
japerry911 authored Oct 19, 2024
2 parents 5cc68d6 + 7df1699 commit 4ad4e6c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# kestra-go

### Summary

This is the unofficial Kestra GoLang support module.

Currently this module's functionality includes allowing users to log messages with either TRACE, DEBUG, INFO, WARNING, ERROR, or CRTIICAL level and it'll log in a format that is understandable by your Kestra instance.

The roadmap for this package to add better documentation and unit tests in the near future, and also adding the ability to send outputs to your Kestra instance.
The roadmap for this package to add better documentation and unit tests in the near future, and also adding the ability to send outputs to your Kestra instance.

### Installation

`go get -u github.com/japerry911/[email protected]`
8 changes: 2 additions & 6 deletions kestra.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,10 @@ func (k *KestraLogger) Info(message string) {
k.logMessage("INFO", message)
}

func (k *KestraLogger) Warning(message string) {
k.logMessage("WARNING", message)
func (k *KestraLogger) Warn(message string) {
k.logMessage("WARN", message)
}

func (k *KestraLogger) Error(message string) {
k.logMessage("ERROR", message)
}

func (k *KestraLogger) Critical(message string) {
k.logMessage("CRITICAL", message)
}

0 comments on commit 4ad4e6c

Please sign in to comment.