journal

package
v0.0.0-...-97eb137 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Copyright 2018 Iguazio Systems Ltd.

Licensed under the Apache License, Version 2.0 (the "License") with an addition restriction as set forth herein. You may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

In addition, you may not use the software for any purposes that are illegal under applicable law, and the grant of the foregoing license under the Apache 2.0 license is conditioned upon your compliance with such restriction.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(message interface{}, vars ...interface{})

func Error

func Error(message interface{}, vars ...interface{})

func Info

func Info(message interface{}, vars ...interface{})

func Warn

func Warn(message interface{}, vars ...interface{})

Types

type Logger

type Logger struct {
}

func (*Logger) Debug

func (j *Logger) Debug(message interface{}, vars ...interface{})

func (*Logger) DebugCtx

func (j *Logger) DebugCtx(ctx context.Context, format interface{}, vars ...interface{})

DebugCtx emits an unstructured debug log with context

func (*Logger) DebugWith

func (j *Logger) DebugWith(message interface{}, vars ...interface{})

func (*Logger) DebugWithCtx

func (j *Logger) DebugWithCtx(ctx context.Context, format interface{}, vars ...interface{})

DebugWithCtx emits a structured debug log with context

func (*Logger) Error

func (j *Logger) Error(message interface{}, vars ...interface{})

func (*Logger) ErrorCtx

func (j *Logger) ErrorCtx(ctx context.Context, format interface{}, vars ...interface{})

ErrorCtx emits an unstructured error log with context

func (*Logger) ErrorWith

func (j *Logger) ErrorWith(message interface{}, vars ...interface{})

func (*Logger) ErrorWithCtx

func (j *Logger) ErrorWithCtx(ctx context.Context, format interface{}, vars ...interface{})

ErrorWithCtx emits a structured error log with context

func (*Logger) Flush

func (j *Logger) Flush()

func (*Logger) GetChild

func (j *Logger) GetChild(name string) logger.Logger

func (*Logger) Info

func (j *Logger) Info(message interface{}, vars ...interface{})

func (*Logger) InfoCtx

func (j *Logger) InfoCtx(ctx context.Context, format interface{}, vars ...interface{})

InfoCtx emits an unstructured informational log with context

func (*Logger) InfoWith

func (j *Logger) InfoWith(message interface{}, vars ...interface{})

func (*Logger) InfoWithCtx

func (j *Logger) InfoWithCtx(ctx context.Context, format interface{}, vars ...interface{})

InfoWithCtx emits a structured info log with context

func (*Logger) Warn

func (j *Logger) Warn(message interface{}, vars ...interface{})

func (*Logger) WarnCtx

func (j *Logger) WarnCtx(ctx context.Context, format interface{}, vars ...interface{})

WarnCtx emits an unstructured warning log with context

func (*Logger) WarnWith

func (j *Logger) WarnWith(message interface{}, vars ...interface{})

func (*Logger) WarnWithCtx

func (j *Logger) WarnWithCtx(ctx context.Context, format interface{}, vars ...interface{})

WarnWithCtx emits a structured warning log with context

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL