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
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

init.go 505B

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