game_client_logic_deb 1.4.91 → 1.4.93

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -194,6 +194,16 @@ export declare namespace com.logic.redux.actions.validation {
194
194
  };
195
195
  }
196
196
  }
197
+ export declare namespace com.logic.utils.logger.game {
198
+ interface GameLogger extends com.logic.utils.logger.outputs.LoggerOutput {
199
+ d(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
200
+ e(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
201
+ w(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
202
+ readonly __doNotUseOrImplementIt: {
203
+ readonly "com.logic.utils.logger.game.GameLogger": unique symbol;
204
+ } & com.logic.utils.logger.outputs.LoggerOutput["__doNotUseOrImplementIt"];
205
+ }
206
+ }
197
207
  export declare namespace com.logic.utils.logger.game {
198
208
  interface LoggerPayload {
199
209
  readonly __doNotUseOrImplementIt: {
@@ -201,6 +211,80 @@ export declare namespace com.logic.utils.logger.game {
201
211
  };
202
212
  }
203
213
  }
214
+ export declare namespace com.logic.utils.logger.outputs {
215
+ abstract class LogType {
216
+ private constructor();
217
+ static get DEBUG(): com.logic.utils.logger.outputs.LogType & {
218
+ get name(): "DEBUG";
219
+ get ordinal(): 0;
220
+ };
221
+ static get ERROR(): com.logic.utils.logger.outputs.LogType & {
222
+ get name(): "ERROR";
223
+ get ordinal(): 1;
224
+ };
225
+ static get WARN(): com.logic.utils.logger.outputs.LogType & {
226
+ get name(): "WARN";
227
+ get ordinal(): 2;
228
+ };
229
+ static values(): Array<com.logic.utils.logger.outputs.LogType>;
230
+ static valueOf(value: string): com.logic.utils.logger.outputs.LogType;
231
+ get name(): "DEBUG" | "ERROR" | "WARN";
232
+ get ordinal(): 0 | 1 | 2;
233
+ static get Companion(): {
234
+ serializer(): any/* kotlinx.serialization.KSerializer<com.logic.utils.logger.outputs.LogType> */;
235
+ } & any/* kotlinx.serialization.internal.SerializerFactory */;
236
+ }
237
+ }
238
+ export declare namespace com.logic.utils.logger.outputs {
239
+ interface LoggerEnabledTrigger extends com.logic.utils.logger.game.GameLogger {
240
+ enabled: boolean;
241
+ d(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
242
+ e(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
243
+ w(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
244
+ readonly __doNotUseOrImplementIt: {
245
+ readonly "com.logic.utils.logger.outputs.LoggerEnabledTrigger": unique symbol;
246
+ } & com.logic.utils.logger.game.GameLogger["__doNotUseOrImplementIt"];
247
+ }
248
+ }
249
+ export declare namespace com.logic.utils.logger.outputs {
250
+ interface LoggerOutput {
251
+ d(tag?: Nullable<string>, message: string, payload?: Nullable<any>): void;
252
+ e(tag?: Nullable<string>, message?: Nullable<string>, exception?: Nullable<Error>, payload?: Nullable<any>): void;
253
+ w(tag?: Nullable<string>, message: string, payload?: Nullable<any>): void;
254
+ readonly __doNotUseOrImplementIt: {
255
+ readonly "com.logic.utils.logger.outputs.LoggerOutput": unique symbol;
256
+ };
257
+ }
258
+ }
259
+ export declare namespace com.logic.utils.logger.outputs {
260
+ interface ObservableLoggerOutput extends com.logic.utils.logger.outputs.LoggerOutput, com.logic.utils.logger.outputs.LoggerEnabledTrigger {
261
+ observe(types?: Array<com.logic.utils.logger.outputs.LogType>): any/* kotlinx.coroutines.flow.Flow<com.logic.utils.logger.outputs.LoggerOutputDataDto> */;
262
+ d(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
263
+ e(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
264
+ w(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
265
+ enabled: boolean;
266
+ readonly __doNotUseOrImplementIt: {
267
+ readonly "com.logic.utils.logger.outputs.ObservableLoggerOutput": unique symbol;
268
+ } & com.logic.utils.logger.outputs.LoggerOutput["__doNotUseOrImplementIt"] & com.logic.utils.logger.outputs.LoggerEnabledTrigger["__doNotUseOrImplementIt"];
269
+ }
270
+ class LoggerOutputDataDto {
271
+ constructor(type: com.logic.utils.logger.outputs.LogType, tag: Nullable<string>, message: Nullable<string>, stackTrace: Nullable<string>);
272
+ get type(): com.logic.utils.logger.outputs.LogType;
273
+ get tag(): Nullable<string>;
274
+ get message(): Nullable<string>;
275
+ get stackTrace(): Nullable<string>;
276
+ copy(type?: com.logic.utils.logger.outputs.LogType, tag?: Nullable<string>, message?: Nullable<string>, stackTrace?: Nullable<string>): com.logic.utils.logger.outputs.LoggerOutputDataDto;
277
+ toString(): string;
278
+ hashCode(): number;
279
+ equals(other: Nullable<any>): boolean;
280
+ static LoggerOutputDataDto_init_$Create$(seen1: number, type: Nullable<com.logic.utils.logger.outputs.LogType>, tag: Nullable<string>, message: Nullable<string>, stackTrace: Nullable<string>, serializationConstructorMarker: Nullable<any>/* Nullable<kotlinx.serialization.internal.SerializationConstructorMarker> */): com.logic.utils.logger.outputs.LoggerOutputDataDto;
281
+ static get Companion(): {
282
+ serializer(): any/* kotlinx.serialization.KSerializer<com.logic.utils.logger.outputs.LoggerOutputDataDto> */;
283
+ };
284
+ static get $serializer(): {
285
+ } & any/* kotlinx.serialization.internal.GeneratedSerializer<com.logic.utils.logger.outputs.LoggerOutputDataDto> */;
286
+ }
287
+ }
204
288
  export declare namespace com.debertz.logic {
205
289
  interface GameStoreContract {
206
290
  readonly id: string;
@@ -772,6 +856,18 @@ export declare namespace com.debertz.logic.client.redux.state {
772
856
  equals(other: Nullable<any>): boolean;
773
857
  }
774
858
  }
859
+ export declare namespace com.debertz.logic.client.utils {
860
+ interface ShowClientErrorLoggerOutput extends com.logic.utils.logger.outputs.LoggerOutput {
861
+ skipWarnings: boolean;
862
+ gameClientProvider: Nullable<() => any/* com.debertz.logic.client.GameClient */>;
863
+ d(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
864
+ e(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
865
+ w(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
866
+ readonly __doNotUseOrImplementIt: {
867
+ readonly "com.debertz.logic.client.utils.ShowClientErrorLoggerOutput": unique symbol;
868
+ } & com.logic.utils.logger.outputs.LoggerOutput["__doNotUseOrImplementIt"];
869
+ }
870
+ }
775
871
  export declare interface GameClientEngineController {
776
872
  readonly parser: ParserHelper;
777
873
  setEnableLogger(enabled: boolean): void;