- バックアップ一覧
- 差分 を表示
- 現在との差分 を表示
- バックアップ を表示
- Perl-Mojolicious/デバッグログ へ行く。
- 1 (2011-03-06 (日) 19:45:16)
* ログ [#d54c123b] ** モードの指定 [#o3ad7137] *** ウェブアプリケーション起動時 [#d3e13152] MOJO_MODE=debug1 plackup ./script/myapp - 上記の場合ログファイルはlog/debug1.logになる。 - モード未指定の場合はdevelopment。 ** ログ書き込み [#x8d98aee] package MyApp; use strict; use warnings; use utf8; use base 'Mojolicious'; sub startup { my $self = shift; $self->log->error('test1'); } ログファイルに"test1"と書き込まれる。