Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gimmyxd committed Apr 30, 2024
1 parent 017a5ed commit e34572c
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,13 +309,7 @@ func FromGRPCStatus(grpcStatus status.Status) *AsertoError {
}

/**
* Logger is a function that retrieves the most inner logger associated with an error.
*
* Parameters:
* - err: The error for which to retrieve the logger.
*
* Returns:
* - logger: The logger associated with the error. If the error is nil or no logger is found, nil is returned.
* Retrieves the most inner logger associated with an error.
*/
func Logger(err error) *zerolog.Logger {
var logger *zerolog.Logger
Expand Down

0 comments on commit e34572c

Please sign in to comment.