Documentation ¶
Overview ¶
Copyright 2014 mqant Author. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); 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.
Copyright 2014 mqant Author. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); 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.
Index ¶
- func Close()
- func DPanicf(msg string, fields ...zap.Field)
- func DPanicw(msg string, fields ...zap.Field)
- func Debugf(msg string, fields ...zap.Field)
- func Debugw(msg string, fields ...zap.Field)
- func Errorf(msg string, fields ...zap.Field)
- func Errorw(msg string, fields ...zap.Field)
- func Fatalf(msg string, fields ...zap.Field)
- func Fatalw(msg string, fields ...zap.Field)
- func Infof(msg string, fields ...zap.Field)
- func Infow(msg string, fields ...zap.Field)
- func InitLog(debug bool, ProcessID string, Logdir string, settings map[string]interface{})
- func Panicf(msg string, fields ...zap.Field)
- func Panicw(msg string, fields ...zap.Field)
- func TDPanic(msg string, fields ...zap.Field)
- func TDebug(msg string, fields ...zap.Field)
- func TError(msg string, fields ...zap.Field)
- func TFatal(msg string, fields ...zap.Field)
- func TInfo(msg string, fields ...zap.Field)
- func TPanic(msg string, fields ...zap.Field)
- func TWarn(msg string, fields ...zap.Field)
- func Warnf(msg string, fields ...zap.Field)
- func Warnw(msg string, fields ...zap.Field)
- type TraceSpan
- type TraceSpanImp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TraceSpan ¶
type TraceSpan interface { // Trace is the root ID of the tree that contains all of the spans // related to this one. TraceId() string // Span is an ID that probabilistically uniquely identifies this // span. SpanId() string ExtractSpan() TraceSpan }
A SpanID refers to a single span.
type TraceSpanImp ¶
func (*TraceSpanImp) ExtractSpan ¶
func (this *TraceSpanImp) ExtractSpan() TraceSpan
func (*TraceSpanImp) SpanId ¶
func (this *TraceSpanImp) SpanId() string
func (*TraceSpanImp) TraceId ¶
func (this *TraceSpanImp) TraceId() string