PHPackages                             totaltekst/logger - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. totaltekst/logger

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

totaltekst/logger
=================

A package for logging

v0.2.0(4mo ago)027MITPHPPHP ^8.1

Since Jun 19Pushed 4mo agoCompare

[ Source](https://github.com/totaltekst/logger)[ Packagist](https://packagist.org/packages/totaltekst/logger)[ RSS](/packages/totaltekst-logger/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

Totaltekst logger
=================

[](#totaltekst-logger)

Enables logging through monolog or Google logs
----------------------------------------------

[](#enables-logging-through-monolog-or-google-logs)

Requirements
------------

[](#requirements)

- PHP 8.1+

**Note** To use Google logging, you need to make sure the application has google credentials set. (Normally through env var GOOGLE\_APPLICATION\_CREDENTIALS).

Installation
------------

[](#installation)

Install the latest version with

```
composer require totaltekst/logger
```

Basic Usage for Google logging
------------------------------

[](#basic-usage-for-google-logging)

```
