# README
zap2telegram
Install
Via go get tool
$ go get -u github.com/alfonmga/zap2telegram
Usage
Example usage:
...
# Functions
NewTelegramCore returns a new zap2telegram instance configured with the given options.
WithDisabledNotification disables Telegram message notification.
WithFormatter sets a custom Telegram message formatter.
WithLevel sends messages equal or above specified level.
WithNotificationOn enables Telegram message notification on specified levels.
WithoutAsyncOpt disables default asynchronous mode and enables synchronous mode for messages sending (blocking).
WithParseMode sets parse mode for Telegram messages (E.g: "ModeMarkdown", "ModeMarkdownV2" or "ModeHTML") https://core.telegram.org/bots/api#formatting-options.
WithQueue sends the messages to Telegram in batches (burst) at the specified interval.
WithStrongLevel sends only messages with specified level.
# Variables
All levels provided by zap.
Posible errors when creating a new Zap Core.
Posible errors when creating a new Zap Core.
Posible errors when creating a new Zap Core.
# Structs
No description provided by the author
# Type aliases
No description provided by the author