Skip to content

pressmaninc/Log-For-Docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

=== Log For Docker ===
Contributors: Kazunao_Anahara
Tags: docker,log
Tested up to: 4.9
Requires PHP: 7.0
Requires at least: 1.0
Stable tag: 1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add a method that can be written to Docker's log.

== Description ==

If you enable this plugin, nothing happens.
WordPress must be running in Docker environment.
You need to add code.

There are two methods.

`Log_For_Docker::log( $message );`

or

`Log_For_Docker::error( $message );`

== Frequently Asked Questions ==

= Installation =

1. Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress
3. Describe the logs output to functions.php.

= How to check logs =

At the terminal.

`docker logs [container_name]`

About

This is a plugin that adds a method that can output the application log to the Docker container log.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages