Comments (1)
If you use examples "as is", there's no way to disable it using command line args.
However, you can fix this applying this patch:
diff --git a/src/Scenario/ClientGenerator.php b/src/Scenario/ClientGenerator.php
index cfd528e..51ed422 100644
--- a/src/Scenario/ClientGenerator.php
+++ b/src/Scenario/ClientGenerator.php
@@ -11,6 +11,7 @@ use TelegramOSINT\Exception\TGException;
use TelegramOSINT\LibConfig;
use TelegramOSINT\Logger\ClientDebugLogger;
use TelegramOSINT\Logger\DefaultLogger;
+use TelegramOSINT\Logger\NullLogger;
use TelegramOSINT\Tools\Proxy;
class ClientGenerator implements ClientGeneratorInterface
@@ -26,7 +27,7 @@ class ClientGenerator implements ClientGeneratorInterface
{
$this->envName = $envName;
$this->proxy = $proxy;
- $this->logger = $logger ?? new DefaultLogger();
+ $this->logger = $logger ?? new NullLogger();
}
public function getInfoClient(): InfoClient
This disables logging by default.
from telegram-osint-lib.
Related Issues (20)
- Hardcoded usernames HOT 1
- getInfoByPhone() HOT 1
- test
- Uncaught TelegramOSINT\Exception\TGException: ERR_TL_CONTAINER_BAD_AUTHKEY_ID: HOT 3
- how to login/create auth key for account that is already exist? HOT 13
- Fatal error: Declaration of TelegramOSINT HOT 1
- ERR_MSG_PHONE_MIGRATE HOT 3
- Installation error HOT 1
- [question] any tutorial for making own scenario? HOT 3
- Fatal error using lib in docker container HOT 2
- Uncaught TelegramOSINT\Exception\TGException: ERR_REG_USER_ALREADY_EXISTS HOT 1
- Need help with registration HOT 2
- No AuthKey HOT 1
- Fatal error: Uncaught TelegramOSINT\Exception\TGException: ERR_REG_USER_ALREADY_EXISTS: TelegramOSINT\MTSerialization\OwnImplementation\OwnAnonymousMessage Object HOT 3
- How to get in touch about a security issue? HOT 1
- auth.codeType HOT 6
- authkey format
- examples/registration.php doesn't work
- composer require postuf/telegram-api-lib HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from telegram-osint-lib.