mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Add log macro
This commit is contained in:
parent
265bfb1db2
commit
aabfe4ff99
3 changed files with 14 additions and 4 deletions
|
@ -18,6 +18,7 @@ describe "Logger" do
|
|||
logger = Kemal::Logger.new
|
||||
logger.handler.should be_a File
|
||||
end
|
||||
|
||||
it "writes to a file in production" do
|
||||
config = Kemal.config
|
||||
config.env = "production"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue