Mercurial Hosting > luan
comparison examples/blog/src/lib/Db.luan @ 1393:cc0dbca576dc
better logging
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 06 Sep 2019 05:09:56 -0600 |
parents | 002152af497a |
children | 9dfff82dfc59 |
comparison
equal
deleted
inserted
replaced
1392:002152af497a | 1393:cc0dbca576dc |
---|---|
6 | 6 |
7 | 7 |
8 local Db = {} | 8 local Db = {} |
9 | 9 |
10 local postgres_spec = Hosting.postgres_spec and Hosting.postgres_spec() | 10 local postgres_spec = Hosting.postgres_spec and Hosting.postgres_spec() |
11 logger.info("postgres_spec="..postgres_spec) | |
12 if postgres_spec ~= nil then | 11 if postgres_spec ~= nil then |
13 function postgres_spec.completer(doc) | 12 function postgres_spec.completer(doc) |
14 return doc | 13 return doc |
15 end | 14 end |
16 end | 15 end |