semvec/pypi-packages huggingface dataset:
cloudx-iaas-api 1.2.13
CloudX Digital Edge IaaS API package

# Securyi Anomaly Detector Micro Service

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi porta aliquam nisi, in tempus risus. Nam cursus risus dictum auctor scelerisque. Mauris cursus libero tellus. In hac habitasse platea dictumst. Nullam et turpis eu orci lacinia rhoncus sed id nibh. Nullam sit amet nibh in nunc posuere laoreet ut vitae mauris. Cras commodo vulputate mi.

Donec in diam laoreet, faucibus erat et, venenatis nisl. Integer vitae elit ac nulla facilisis pharetra pharetra a ex. Integer imperdiet varius elementum. Pellentesque eu urna purus. Pellentesque eu justo ac magna dictum egestas ac vel massa. Praesent pretium ut elit ultricies iaculis. Sed maximus dapibus sollicitudin. Proin varius diam quis tincidunt aliquet.

```bash
pip install cloudx_naas_api
```

Ut fermentum fringilla fermentum. Nunc ut auctor sapien. Donec pellentesque, odio sit amet venenatis dictum, dui tellus vulputate mi, id venenatis dui purus et metus. Cras mollis est in fermentum mattis. Nullam faucibus urna id posuere aliquet. Mauris ut fermentum mauris. Morbi elementum feugiat justo tempor vehicula. Fusce non enim nec turpis scelerisque maximus. In id fringilla dui. Vivamus placerat massa turpis. Nam rhoncus turpis eget tortor consequat laoreet. Pellentesque pellentesque id diam quis ullamcorper. Vestibulum ultrices magna laoreet, fermentum tortor et, venenatis nisl. Donec ullamcorper, sem et elementum bibendum, nisi sapien euismod quam, sit amet rutrum tellus risus in nisl.

```bash
make build push
```

Proin pharetra sapien mollis, efficitur turpis quis, elementum velit. Aliquam posuere lectus nisl, non rutrum libero tristique at. Duis sit amet pharetra tellus. Donec tempor est sed aliquam rutrum. Maecenas vitae metus quis tortor pellentesque imperdiet et sed dolor. Maecenas condimentum augue nec nunc imperdiet, sit amet sollicitudin ipsum aliquam. Proin lobortis mi quis eleifend dignissim. Mauris convallis semper nibh vel pretium. Sed et mattis nunc. Duis orci leo, elementum ut sapien quis, eleifend interdum enim. Suspendisse vitae diam euismod, bibendum velit iaculis, rhoncus dui. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Pellentesque consequat consequat est, a mollis quam porttitor dignissim. Vivamus fermentum vel turpis sit amet imperdiet. Morbi eget maximus justo.

Maecenas et porta metus. Nulla consequat hendrerit augue, nec gravida nunc iaculis et. Aliquam erat volutpat. Nunc consequat condimentum mauris et euismod. Donec scelerisque tincidunt elementum. Nam et imperdiet nunc, tincidunt laoreet ipsum. Maecenas pulvinar lorem sit amet enim malesuada auctor non et diam. Proin ac elit vulputate, pulvinar quam condimentum, suscipit velit. Curabitur tincidunt, tellus lobortis volutpat ultricies, dui dui cursus justo, ut consequat quam ligula elementum purus. Morbi consequat ultricies mi, quis viverra elit.
Logger-Zuj3brusu 2.0
Create logs on Discord, Telegram or a local file
Requires Python: >=3.6

# Logger
A Python Module to create logs on Discord, Telegram or a local file

## Installation
Either
```bash
pip install Logger-Zuj3brusu
```
Or
```bash
pip install git+git://github.com/Zuj3brusu/Logger.git
```

## Usage
### Initialization
```python
from Logger import logger

# Creating a Logger object
loggerObject = logger.Logger()
```

#### Initialize Discord Logger (Optional / Only needed to send Discord Logs)
One way to do this is to directly set the values of DcUrl and DcBotName while initializing the logger. Another way to do this is
```python
# Set the values of Discord Webhook url and Bot Name
loggerObject.setDiscord(DcUrl = <Channel Webhook>, DcBotName = <Name of the Bot>)

# Start the Discord Logger
loggerObject.startDiscordLogger()
```


#### Initialize Telegram Logger (Optional / Only needed to send Telegram Logs)
One way to do this is to directly set the values of TgChatID and TgbotAPI while initializing the logger. Another way to do this is
```python
# Set the values of Telegram Chat ID and Bot API
loggerObject.setTelegram(TgChatID = <Chat ID>, TgbotAPI = <Bot API>)

# Start the Telegram Logger
loggerObject.startDiscordLogger()
```


#### Initialize FileLogger
While the FileLogger is initialized by default, you can still change any/all of the parameters.
One way to do this is to directly set the values of FileLogger parameters while initializing the logger. Another way to do this is
```python
# Set the values of Telegram Chat ID and Bot API
loggerObject.setFileLogger(
	LogFolderLocation = <LogFolderLocation>,
	LogFileName       = <LogFileName>,
	LogFileMode       = <LogFileMode>,
	LogFormat         = <LogFormat>,
	LogLevel          = <LogLevel>
	)

# Start the FileLogger
loggerObject.startFileLogger()
```


### Sending a log
Logs can be sent using any/all Logger(s). You just need to set the values of parameters to `True` for the Loggers for which you want to send the logs.

`print` Determines whether to print success or error messages.
```python
log="Hello World"

loggerObject.send(log,discord=True,telegram=True,filelogs=True,print=True)
```

## Thanks for checking it out!