Skip to content

Commit

Permalink
Merge pull request #5 from pravinba9495/development
Browse files Browse the repository at this point in the history
Update comment lines to conform to standards
  • Loading branch information
pravinba9495 authored Jan 6, 2022
2 parents b589e91 + c9be3f3 commit 1b1059f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var (
logFilePath string = "logfile.txt"
)

// Initialize logger
// Init initializes a logger
func Init(opts *LoggerOptions) (func(), error) {
if opts != nil {
if opts.LogLevel != "" {
Expand Down Expand Up @@ -72,7 +72,7 @@ func Print(s string) {
log.Print("[" + filename + ":" + fmt.Sprint(line) + "] " + str)
}

// SUCCESS prints logs of type "SUCCESS"
// Success prints logs of type "SUCCESS"
func Success(s string) {
_, filename, line, _ := runtime.Caller(1)
str := color.GreenString("%s", s)
Expand Down

0 comments on commit 1b1059f

Please sign in to comment.