fiisoft/output-writer
Composer 安装命令:
composer require fiisoft/output-writer
包简介
Abstraction of a writer (of messages) to an output (console, log, stream etc).
README 文档
README
Library with abstraction of something that is capable to write various types of messages to some kinds of output (like console, or file, or anything).
My advice is - do not use it unless you are enough strong mentally to immune for such bad code.
OutputWriter
Main interface of package. The OutputWriter is something that allows to write messages (in most cases to console) with few different levels of important and can filter out messages with level lower then minimal required to write message.
OutputLevel
Contains constants with valid levels of messages. Can be use by method OutputWriter::setLevel().
ConsoleOutputWriter
It writes messages directly to current STDOUT (by echo).
SymfonyConsoleOutputWriter
Is an adapter for Symfony OutputInterface implementation.
BufferedOutputWriter
This adapter collects messages and is able to flush them to other OutputWriter.
统计信息
- 总下载量: 71
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-05-27