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 ¶
- func Debug(message interface{}, vars ...interface{})
- func Error(message interface{}, vars ...interface{})
- func Info(message interface{}, vars ...interface{})
- func Warn(message interface{}, vars ...interface{})
- type Logger
- func (j *Logger) Debug(message interface{}, vars ...interface{})
- func (j *Logger) DebugCtx(ctx context.Context, format interface{}, vars ...interface{})
- func (j *Logger) DebugWith(message interface{}, vars ...interface{})
- func (j *Logger) DebugWithCtx(ctx context.Context, format interface{}, vars ...interface{})
- func (j *Logger) Error(message interface{}, vars ...interface{})
- func (j *Logger) ErrorCtx(ctx context.Context, format interface{}, vars ...interface{})
- func (j *Logger) ErrorWith(message interface{}, vars ...interface{})
- func (j *Logger) ErrorWithCtx(ctx context.Context, format interface{}, vars ...interface{})
- func (j *Logger) Flush()
- func (j *Logger) GetChild(name string) logger.Logger
- func (j *Logger) Info(message interface{}, vars ...interface{})
- func (j *Logger) InfoCtx(ctx context.Context, format interface{}, vars ...interface{})
- func (j *Logger) InfoWith(message interface{}, vars ...interface{})
- func (j *Logger) InfoWithCtx(ctx context.Context, format interface{}, vars ...interface{})
- func (j *Logger) Warn(message interface{}, vars ...interface{})
- func (j *Logger) WarnCtx(ctx context.Context, format interface{}, vars ...interface{})
- func (j *Logger) WarnWith(message interface{}, vars ...interface{})
- func (j *Logger) WarnWithCtx(ctx context.Context, format interface{}, vars ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger struct { }
func (*Logger) DebugWithCtx ¶
DebugWithCtx emits a structured debug log with context
func (*Logger) ErrorWithCtx ¶
ErrorWithCtx emits a structured error log with context
func (*Logger) InfoWithCtx ¶
InfoWithCtx emits a structured info log with context
func (*Logger) WarnWithCtx ¶
WarnWithCtx emits a structured warning log with context