feat(depends): Warn user that the service is not created
This commit is contained in:
@@ -8,7 +8,7 @@ import "katenary.io/internal/logger"
|
||||
|
||||
Package logger provides simple logging functions with icons and colors.
|
||||
|
||||
## func [Failure](<https://repo.katenary.io/Katenary/katenary/blob/master/internal/logger/logger.go#L43>)
|
||||
## func [Failure](<https://repo.katenary.io/Katenary/katenary/blob/feature/better-depends-on/internal/logger/logger.go#L75>)
|
||||
|
||||
```go
|
||||
func Failure(msg ...any)
|
||||
@@ -16,8 +16,35 @@ func Failure(msg ...any)
|
||||
|
||||
Failure prints a failure message.
|
||||
|
||||
<a name="Failuref"></a>
|
||||
## func [Failuref](<https://repo.katenary.io/Katenary/katenary/blob/feature/better-depends-on/internal/logger/logger.go#L81>)
|
||||
|
||||
```go
|
||||
func Failuref(format string, msg ...any)
|
||||
```
|
||||
|
||||
Failuref prints a formatted failure message.
|
||||
|
||||
<a name="Fatal"></a>
|
||||
## func [Fatal](<https://repo.katenary.io/Katenary/katenary/blob/feature/better-depends-on/internal/logger/logger.go#L108>)
|
||||
|
||||
```go
|
||||
func Fatal(msg ...any)
|
||||
```
|
||||
|
||||
Fatal prints a fatal error message and exits with code 1.
|
||||
|
||||
<a name="Fatalf"></a>
|
||||
## func [Fatalf](<https://repo.katenary.io/Katenary/katenary/blob/feature/better-depends-on/internal/logger/logger.go#L114>)
|
||||
|
||||
```go
|
||||
func Fatalf(format string, msg ...any)
|
||||
```
|
||||
|
||||
Fatalf prints a fatal error message with formatting and exits with code 1.
|
||||
|
||||
<a name="Info"></a>
|
||||
## func [Info](<https://repo.katenary.io/Katenary/katenary/blob/master/internal/logger/logger.go#L26>)
|
||||
## func [Info](<https://repo.katenary.io/Katenary/katenary/blob/feature/better-depends-on/internal/logger/logger.go#L41>)
|
||||
|
||||
```go
|
||||
func Info(msg ...any)
|
||||
@@ -25,8 +52,17 @@ func Info(msg ...any)
|
||||
|
||||
Info prints an informational message.
|
||||
|
||||
<a name="Infof"></a>
|
||||
## func [Infof](<https://repo.katenary.io/Katenary/katenary/blob/feature/better-depends-on/internal/logger/logger.go#L46>)
|
||||
|
||||
```go
|
||||
func Infof(format string, msg ...any)
|
||||
```
|
||||
|
||||
Infof prints a formatted informational message.
|
||||
|
||||
<a name="Log"></a>
|
||||
## func [Log](<https://repo.katenary.io/Katenary/katenary/blob/master/internal/logger/logger.go#L49>)
|
||||
## func [Log](<https://repo.katenary.io/Katenary/katenary/blob/feature/better-depends-on/internal/logger/logger.go#L87>)
|
||||
|
||||
```go
|
||||
func Log(icon Icon, msg ...any)
|
||||
@@ -34,8 +70,35 @@ func Log(icon Icon, msg ...any)
|
||||
|
||||
Log prints a message with a custom icon.
|
||||
|
||||
<a name="Logf"></a>
|
||||
## func [Logf](<https://repo.katenary.io/Katenary/katenary/blob/feature/better-depends-on/internal/logger/logger.go#L92>)
|
||||
|
||||
```go
|
||||
func Logf(icon Icon, format string, msg ...any)
|
||||
```
|
||||
|
||||
Logf prints a formatted message with a custom icon.
|
||||
|
||||
<a name="Print"></a>
|
||||
## func [Print](<https://repo.katenary.io/Katenary/katenary/blob/feature/better-depends-on/internal/logger/logger.go#L31>)
|
||||
|
||||
```go
|
||||
func Print(msg ...any)
|
||||
```
|
||||
|
||||
Print prints a message without icon.
|
||||
|
||||
<a name="Printf"></a>
|
||||
## func [Printf](<https://repo.katenary.io/Katenary/katenary/blob/feature/better-depends-on/internal/logger/logger.go#L36>)
|
||||
|
||||
```go
|
||||
func Printf(format string, msg ...any)
|
||||
```
|
||||
|
||||
Printf prints a formatted message without icon.
|
||||
|
||||
<a name="Success"></a>
|
||||
## func [Success](<https://repo.katenary.io/Katenary/katenary/blob/master/internal/logger/logger.go#L37>)
|
||||
## func [Success](<https://repo.katenary.io/Katenary/katenary/blob/feature/better-depends-on/internal/logger/logger.go#L63>)
|
||||
|
||||
```go
|
||||
func Success(msg ...any)
|
||||
@@ -43,8 +106,17 @@ func Success(msg ...any)
|
||||
|
||||
Success prints a success message.
|
||||
|
||||
<a name="Successf"></a>
|
||||
## func [Successf](<https://repo.katenary.io/Katenary/katenary/blob/feature/better-depends-on/internal/logger/logger.go#L69>)
|
||||
|
||||
```go
|
||||
func Successf(format string, msg ...any)
|
||||
```
|
||||
|
||||
Successf prints a formatted success message.
|
||||
|
||||
<a name="Warn"></a>
|
||||
## func [Warn](<https://repo.katenary.io/Katenary/katenary/blob/master/internal/logger/logger.go#L31>)
|
||||
## func [Warn](<https://repo.katenary.io/Katenary/katenary/blob/feature/better-depends-on/internal/logger/logger.go#L51>)
|
||||
|
||||
```go
|
||||
func Warn(msg ...any)
|
||||
@@ -52,8 +124,17 @@ func Warn(msg ...any)
|
||||
|
||||
Warn prints a warning message.
|
||||
|
||||
<a name="Warnf"></a>
|
||||
## func [Warnf](<https://repo.katenary.io/Katenary/katenary/blob/feature/better-depends-on/internal/logger/logger.go#L57>)
|
||||
|
||||
```go
|
||||
func Warnf(format string, msg ...any)
|
||||
```
|
||||
|
||||
Warnf prints a formatted warning message.
|
||||
|
||||
<a name="Icon"></a>
|
||||
## type [Icon](<https://repo.katenary.io/Katenary/katenary/blob/master/internal/logger/logger.go#L5>)
|
||||
## type [Icon](<https://repo.katenary.io/Katenary/katenary/blob/feature/better-depends-on/internal/logger/logger.go#L10>)
|
||||
|
||||
Icon is a unicode icon
|
||||
|
||||
|
||||
Reference in New Issue
Block a user