crossplane / crossplane/function-sdk-go

Add options to NewLogger function to encode time in iso8601 format and provide a different caller skip if necessary to the logger

Open
#146 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
36
Forks
29
Avg merge
1d 8h
Merged PRs (30d)
10

Description

### What problem are you facing?

I would like for the `NewLogger()` function to have a couple more options to initialize logger for the functions as per need:
- allow encoding time in iso8601 format
- optionally allow setting a different caller skip if necessary

### How could Crossplane help solve your problem?

Update `NewLogger()` function to take in options to handle encoding time and setting a different caller skip.

Proposed changes made: #145

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.