File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ defer m.Log()
3939
4040Customizing the logger:
4141```
42- emf.NewWith (
42+ emf.New (
4343 emf.WithWriter(os.Stderr), // Log to stderr.
4444 emf.WithTimestamp(time.Now().Add(-time.Hour)), // Record past metrics.
4545)
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ func WithTimestamp(t time.Time) LoggerOption {
4444// New creates logger with reasonable defaults for Lambda functions:
4545// - Prints to os.Stdout.
4646// - Context based on Lambda environment variables.
47- // - Timestamp set to the time when NewWith was called.
47+ // - Timestamp set to the time when New was called.
4848// Specify LoggerOptions to customize the logger.
4949func New (opts ... LoggerOption ) * Logger {
5050 values := make (map [string ]interface {})
You can’t perform that action at this time.
0 commit comments