gitlab.com/evatix-go/core@v1.3.55/coreinterface/loggerinf/MetaAttributesWithoutTileStacker.go (about) 1 package loggerinf 2 3 import ( 4 "fmt" 5 6 "gitlab.com/evatix-go/core/coredata/corejson" 7 "gitlab.com/evatix-go/core/coreinterface" 8 "gitlab.com/evatix-go/core/coreinterface/entityinf" 9 "gitlab.com/evatix-go/core/coreinterface/enuminf" 10 "gitlab.com/evatix-go/core/coreinterface/errcoreinf" 11 ) 12 13 type MetaAttributesWithoutTileStacker interface { 14 enuminf.LoggerTyperGetter 15 16 Title() string 17 IsSilent() bool 18 19 On(isLog bool) MetaAttributesWithoutTileStacker 20 Attr(attr string) MetaAttributesWithoutTileStacker 21 Str(val string) MetaAttributesWithoutTileStacker 22 Strings(stringItems ...string) MetaAttributesWithoutTileStacker 23 StandardSlicer(standardSlice coreinterface.StandardSlicer) MetaAttributesWithoutTileStacker 24 Stringer(stringer fmt.Stringer) MetaAttributesWithoutTileStacker 25 Stringers(stringers ...fmt.Stringer) MetaAttributesWithoutTileStacker 26 Byte(singleByteValue byte) MetaAttributesWithoutTileStacker 27 Bytes(values []byte) MetaAttributesWithoutTileStacker 28 Hex(hexValues []byte) MetaAttributesWithoutTileStacker 29 RawJson(rawJsonBytes []byte) MetaAttributesWithoutTileStacker 30 Error(err error) MetaAttributesWithoutTileStacker 31 MapAny(mapAny map[string]interface{}) MetaAttributesWithoutTileStacker 32 MapIntegerAny(mapAny map[int]interface{}) MetaAttributesWithoutTileStacker 33 34 JsonResult(json *corejson.Result) MetaAttributesWithoutTileStacker 35 JsonResultItems(jsons ...*corejson.Result) MetaAttributesWithoutTileStacker 36 37 Err(err error) MetaAttributesWithoutTileStacker 38 39 DefaultStackTraces() MetaAttributesWithoutTileStacker 40 41 ErrWithTypeTraces(errType errcoreinf.BasicErrorTyper, err error) MetaAttributesWithoutTileStacker 42 ErrorsWithTypeTraces(errType errcoreinf.BasicErrorTyper, errorItems ...error) MetaAttributesWithoutTileStacker 43 StackTraces(stackSkipIndex int) MetaAttributesWithoutTileStacker 44 OnErrStackTraces(err error) MetaAttributesWithoutTileStacker 45 OnErrWrapperOrCollectionStackTraces( 46 errWrapperOrCollection errcoreinf.BaseErrorOrCollectionWrapper, 47 ) MetaAttributesWithoutTileStacker 48 49 FullStringer( 50 fullStringer errcoreinf.FullStringer, 51 ) MetaAttributesWithoutTileStacker 52 53 FullStringerTitle( 54 title string, 55 fullStringer errcoreinf.FullStringer, 56 ) MetaAttributesWithoutTileStacker 57 FullTraceAsAttr( 58 title string, 59 attrFullStringWithTraces errcoreinf.FullStringWithTracesGetter, 60 ) MetaAttributesWithoutTileStacker 61 62 BasicErrWrapper(errWrapperOrCollection errcoreinf.BasicErrWrapper) MetaAttributesWithoutTileStacker 63 BaseRawErrCollectionDefiner(errWrapperOrCollection errcoreinf.BaseRawErrCollectionDefiner) MetaAttributesWithoutTileStacker 64 BaseErrorWrapperCollectionDefiner(errWrapperOrCollection errcoreinf.BaseErrorWrapperCollectionDefiner) MetaAttributesWithoutTileStacker 65 ErrWrapperOrCollection(errWrapperOrCollection errcoreinf.BaseErrorOrCollectionWrapper) MetaAttributesWithoutTileStacker 66 RawErrCollection(err errcoreinf.BaseRawErrCollectionDefiner) MetaAttributesWithoutTileStacker 67 CompiledBasicErrWrapper(compiler errcoreinf.CompiledBasicErrWrapper) MetaAttributesWithoutTileStacker 68 69 Namer(namer enuminf.Namer) MetaAttributesWithoutTileStacker 70 71 SimpleEnum(enum enuminf.SimpleEnumer) MetaAttributesWithoutTileStacker 72 SimpleEnums(enums ...enuminf.SimpleEnumer) MetaAttributesWithoutTileStacker 73 Enum(enum enuminf.BasicEnumer) MetaAttributesWithoutTileStacker 74 Enums(enums ...enuminf.BasicEnumer) MetaAttributesWithoutTileStacker 75 OnlyEnum(enum enuminf.BasicEnumer) MetaAttributesWithoutTileStacker 76 OnlyEnums(enums ...enuminf.BasicEnumer) MetaAttributesWithoutTileStacker 77 78 OnlyString(value string) MetaAttributesWithoutTileStacker 79 OnlyStrings(values ...string) MetaAttributesWithoutTileStacker 80 OnlyIntegers(values ...int) MetaAttributesWithoutTileStacker 81 OnlyBooleans(values ...bool) MetaAttributesWithoutTileStacker 82 OnlyBytes(rawBytes []byte) MetaAttributesWithoutTileStacker 83 OnlyRawJson(rawBytes []byte) MetaAttributesWithoutTileStacker 84 OnlyBytesErr(rawBytes []byte, err error) MetaAttributesWithoutTileStacker 85 86 // OnlyAnyItems 87 // 88 // Convert any values to json 89 OnlyAnyItems(values ...interface{}) MetaAttributesWithoutTileStacker 90 91 // OnlyAnyItemsString 92 // 93 // Convert any values to string 94 OnlyAnyItemsString(values ...interface{}) MetaAttributesWithoutTileStacker 95 // OnlyAnyItemsJson 96 // 97 // Convert any values to json then compile 98 OnlyAnyItemsJson(values ...interface{}) MetaAttributesWithoutTileStacker 99 100 Bool(isResult bool) MetaAttributesWithoutTileStacker 101 Booleans(isResults ...bool) MetaAttributesWithoutTileStacker 102 103 // Any 104 // 105 // Convert any item to json 106 Any(anyItem interface{}) MetaAttributesWithoutTileStacker 107 // AnyIf 108 // 109 // Convert any item to json 110 AnyIf(isLog bool, anyItem interface{}) MetaAttributesWithoutTileStacker 111 // AnyItems 112 // 113 // Convert any item to json 114 AnyItems(anyItems ...interface{}) MetaAttributesWithoutTileStacker 115 // AnyItemsIf 116 // 117 // Convert any item to json 118 AnyItemsIf(isLog bool, anyItems ...interface{}) MetaAttributesWithoutTileStacker 119 120 AnyItemsJson(title string, anyItems ...interface{}) MetaAttributesWithoutTileStacker 121 AnyItemsString(title string, anyItems ...interface{}) MetaAttributesWithoutTileStacker 122 123 Jsoner(jsoner corejson.Jsoner) MetaAttributesWithoutTileStacker 124 Jsoners(jsoners ...corejson.Jsoner) MetaAttributesWithoutTileStacker 125 JsonerTitle(jsoner corejson.Jsoner) MetaAttributesWithoutTileStacker 126 JsonerIf(isLog bool, jsoner corejson.Jsoner) MetaAttributesWithoutTileStacker 127 JsonersIf(isLog bool, jsoners ...corejson.Jsoner) MetaAttributesWithoutTileStacker 128 129 Serializer(serializer Serializer) MetaAttributesWithoutTileStacker 130 Serializers(serializers ...Serializer) MetaAttributesWithoutTileStacker 131 SerializerFunc(serializerFunc func() ([]byte, error)) MetaAttributesWithoutTileStacker 132 SerializerFunctions(serializerFunctions ...func() ([]byte, error)) MetaAttributesWithoutTileStacker 133 134 StandardTaskEntityDefiner(entity entityinf.StandardTaskEntityDefiner) MetaAttributesWithoutTileStacker 135 TaskEntityDefiner(entity entityinf.TaskEntityDefiner) MetaAttributesWithoutTileStacker 136 137 StandardTaskEntityDefinerTitle(entity entityinf.StandardTaskEntityDefiner) MetaAttributesWithoutTileStacker 138 TaskEntityDefinerTitle(entity entityinf.TaskEntityDefiner) MetaAttributesWithoutTileStacker 139 140 LoggerModel(loggerModel SingleLogModeler) MetaAttributesWithoutTileStacker 141 LoggerModelTitle(loggerModel SingleLogModeler) MetaAttributesWithoutTileStacker 142 143 Int(i int) MetaAttributesWithoutTileStacker 144 Integers(integerItems ...int) MetaAttributesWithoutTileStacker 145 Fmt(format string, v ...interface{}) MetaAttributesWithoutTileStacker 146 FmtIf(isLog bool, format string, v ...interface{}) MetaAttributesWithoutTileStacker 147 148 RawPayloadsGetter(payloadsGetter RawPayloadsGetter) MetaAttributesWithoutTileStacker 149 RawPayloadsGetterIf(isLog bool, payloadsGetter RawPayloadsGetter) MetaAttributesWithoutTileStacker 150 151 Inject(others ...MetaAttributesWithoutTileStacker) MetaAttributesWithoutTileStacker 152 ConcatNew(others ...MetaAttributesWithoutTileStacker) MetaAttributesWithoutTileStacker 153 coreinterface.Clearer 154 155 Items() map[string]interface{} 156 157 GetAsStrings() []string 158 HasKey(name string) bool 159 GetVal(keyName string) (val interface{}) 160 161 MetaAttributesCompiler 162 coreinterface.StandardSlicerContractsBinder 163 }