-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
34 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the Monolog Teams Handler package. | ||
* | ||
* (c) Remco Speekenbrink <remco@speekkie.nl> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Rspeekenbrink\MonologMicrosoftTeams; | ||
|
||
use Monolog\Logger; | ||
use Monolog\Formatter\LineFormatter; | ||
|
||
/** | ||
* Teams Formatter to make text more readable and add some make-up. | ||
* | ||
* @author Remco Speekenbrink <remco@speekkie.nl> | ||
* @see https://docs.microsoft.com/en-us/outlook/actionable-messages/message-card-reference | ||
*/ | ||
class MicrosoftTeamsFormatter extends LineFormatter | ||
{ | ||
public const SIMPLE_FORMAT = "[%datetime%] %level_name%: %message%\n"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters