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
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

init.go 495B

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. }