Skip to content

Commit

Permalink
revert some accidental chagnes
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepsukhani committed Jun 19, 2023
1 parent 44b0932 commit 617e864
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions integration/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ func New(instanceID, token, baseURL string, opts ...Option) *Client {
}

// PushLogLine creates a new logline with the current time as timestamp
func (c *Client) PushLogLine(line string, logLabels ...map[string]string) error {
return c.pushLogLine(line, c.Now, nil, logLabels...)
func (c *Client) PushLogLine(line string, extraLabels ...map[string]string) error {
return c.pushLogLine(line, c.Now, nil, extraLabels...)
}

func (c *Client) PushLogLineWithMetadata(line string, logLabels map[string]string, extraLabels ...map[string]string) error {
Expand All @@ -96,8 +96,8 @@ func (c *Client) PushLogLineWithMetadata(line string, logLabels map[string]strin

// PushLogLineWithTimestamp creates a new logline at the given timestamp
// The timestamp has to be a Unix timestamp (epoch seconds)
func (c *Client) PushLogLineWithTimestamp(line string, timestamp time.Time, logLabels ...map[string]string) error {
return c.pushLogLine(line, timestamp, nil, logLabels...)
func (c *Client) PushLogLineWithTimestamp(line string, timestamp time.Time, extraLabels ...map[string]string) error {
return c.pushLogLine(line, timestamp, nil, extraLabels...)
}

func (c *Client) PushLogLineWithTimestampAndMetadata(line string, timestamp time.Time, logLabels map[string]string, extraLabelList ...map[string]string) error {
Expand Down

0 comments on commit 617e864

Please sign in to comment.