Laravel 5.0 Documentation
Encryption i. Introduction ii. Basic Usage ix. Errors & Logging i. Configuration ii. Handling Errors iii. HTTP Exceptions iv. Logging x. Events i. Basic Usage ii. Queued Event Handlers iii. Connections iii. Running Queries iv. Database Transactions v. Accessing Connections vi. Query Logging ii. Query Builder i. Introduction ii. Selects iii. Joins iv. Advanced Wheres v. Aggregates providers provide various bootstrapping functions to your application, such as error handling, logging, route loading, and more. Of course, you are free to create additional service providers for your0 码力 | 242 页 | 1.44 MB | 1 年前3
Laravel 3.2 Documentation................................................................................. 47 Errors & Logging ................................................................................................ .......................................................................................... 47 Logging ................................................................................................ ......................................................................................... 113 Logging In..............................................................................................0 码力 | 139 页 | 1.13 MB | 1 年前3
The Laravel Handbook
portion of the file you can see we set the app name, the debug flag, the URL, settings related to logging, to the database connection, email sending and much more. One very useful folder is config . Here’s there are other migrations, which are added by the Laravel framework itself for it’s authentication system. But let’s focus on creating a new table, let’s call it dogs . Go in the up() function of the the DigitalOcean panel) In Advanced Settings you can configure more details such as the Operating System, Database and PHP version: 86 I picked Postgres because I like that more, but it’s just a preference0 码力 | 111 页 | 14.25 MB | 1 年前3
Laravel 5.6 中文文档重要升级,要了解详细升级日志可以查看 GitHub 上到 change logs。 日志优化 Laravel 5.6 带来了日志系统的重大升级,所有日志配置都存放在新的 config/logging.php 配置文件,你现在可以轻松构建发送日志消息到多个处 理器的日志”堆栈”。例如,你可以发送所有 debug 级别消息到系统日志同时发送 error 级别消息到 Slack 以便团队成员可以快速响应: 你想要维持不进行双重编码的旧状,可以传递 false 作为第二个参数到 e 函数: 日志 新配置文件 所有的日志配置现在都存放在独立的 config/logging.php 配置文件。你可以拷贝一份默认的配置文件到你的应用然后基于应用需要进行设置。 log 和 log_level 配置项都可以从配置文件 config/app.php 里移除了。 c 入,需要 更新该类的引用为新的类名。或者,作为替代方案,你可以考虑将类型提示调整为标准的 Psr\Log\LoggerInterface 接口。 Illuminate\Contracts\Logging\Log 接口 该接口已经被移除,因为它和 Psr\Log\LoggerInterface 接口完全重合,需要将引用它的地方都调整为 Psr\Log\LoggerInterface 接口。0 码力 | 377 页 | 14.56 MB | 1 年前3
Laravel 6.0 中文文档Homestead 站点的请求重定向到 Homestead 虚拟机。在 Mac 和 Linux 系统中,该文件位于 /etc/hosts,在 Windows 系统中, 该文件位于 C:\Windows\System32\drivers\etc\hosts。我们 以 homestead.test 域名映射为例,添加到 hosts 文件的记录如下 所示: 192.168.10.10 homestead.test context 方法来定义自己的全 局上下文数据,该信息会被包含在应用写入的每一条异常日志信息 中: /** * Get the default context variables for logging. * * @return array */ protected function context() { return array_merge(parent::context(), 在日志引擎之下,Laravel 集成了 Monolog 日志库以便提供各种功 能强大的日志处理器,从而允许你通过它们来定制自己应用的日志处 理。 配置 应用日志系统的所有配置都存放在配置文 件 config/logging.php 中,该文件允许你配置应用的日志通道, 因此请务必查看每个可用通道及其配置项。下面我们就来看看其中某 些配置项。 默认情况下,Laravel 使用 stack 通道来记录日志信息,stack0 码力 | 1442 页 | 14.66 MB | 1 年前3
Laravel 5.1 中文文档hosts 文件,该文件会将对本地域名的 请求重定向到 Homestead 环境,在 Mac 或 Linux 上,该文件位于/etc/hosts,在 Windows 上,位于 C:\Windows\System32\drivers\etc\hosts,添加方式如下: 192.168.10.10 homestead.app 确保 IP 地址和你的 Homestead.yaml 文件中列出的一致,一旦你将域名放置到 \Foundation\Application App Illuminate\Contracts\Hashing\Hasher Hash Illuminate\Contracts\Logging\Log Log Illuminate\Contracts\Mail\MailQueue Mail::queue() Illuminate\Contracts\Mail\Mailer0 码力 | 307 页 | 3.46 MB | 1 年前3
Laravel 5.3 中文文档文件中,该文件会将对本地域 名的请求重定向到 Homestead 虚拟机,在 Mac 或 Linux 上,该文件位于 /etc/hosts,在 Windows 上,位于 C:\Windows\System32\drivers\etc\hosts,添加方式如下: 192.168.10.10 homestead.app 本文档由 Laravel 学院(LaravelAcademy.org)提供 \Foundation\Application App Illuminate\Contracts\Hashing\Hasher Hash Illuminate\Contracts\Logging\Log Log 本文档由 Laravel 学院(LaravelAcademy.org)提供 Laravel 学院致力于提供优质 Laravel 中文学习资源 99 Contract0 码力 | 691 页 | 9.37 MB | 1 年前3
Learning Laravelequivalent directory for your OS) in your $PATH so the laravel executable can be located by your system. Once installed, the laravel new command will create a fresh Laravel installation in the directory generate Seeds 1) BASIC SIMPLE WAY Database-driven applications often need data pre-seeded into the system for testing and demo purposes. To make such data, first create the seeder class ProductTableSeeder equivalent directory for your OS) in your $PATH so the laravel executable can be located by your system. Once installed, the laravel new command will create a fresh Laravel installation in the directory0 码力 | 216 页 | 1.58 MB | 1 年前3
Laravel 5.2 中文文档文件中,该文件会将对 本地域名的请求重定向到 Homestead 虚拟机,在 Mac 或 Linux 上,该文件位 于 /etc/hosts,在 Windows 上,位于 C:\Windows\System32\drivers\etc\hosts,添加 方式如下: 192.168.10.10 homestead.app 确保 IP 地址和你的 Homestead.yaml 文件中列出的一致,一旦你将域名放置到0 码力 | 377 页 | 4.56 MB | 1 年前3
共 9 条
- 1













