Highly-opinionated (ex-bullshit-free) MTPROTO proxy for Telegram. If you use v1.0 or upgrade broke you proxy, please read the chapter Version 2
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

123456789101112
  1. // Package logger has implementation of loggers for [mtglib.Logger] interface.
  2. //
  3. // Please see a description of that interface to get some agreements which are
  4. // used by mtglib.
  5. package logger
  6. // StdLikeLogger is an interface which is close to [log.Logger]. This is
  7. // commonly used by many 3pp tools. While mtglib itself does not need it, it is
  8. // always a good idea to support it and have a transient end to end logging.
  9. type StdLikeLogger interface {
  10. Printf(format string, args ...any)
  11. }