diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-06-10 20:15:13 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-10-18 20:21:51 +0200 |
commit | f432dd2e2ea9fe4e7c19d5ea9d60481e662a0367 (patch) | |
tree | 69a867888c347607ba2e49c2040cb2594bc00491 /apps/dav/src/service/logger.js | |
parent | 643e85cfe81ac079bd2e5bcf1a344a20319f48db (diff) | |
download | nextcloud-server-f432dd2e2ea9fe4e7c19d5ea9d60481e662a0367.tar.gz nextcloud-server-f432dd2e2ea9fe4e7c19d5ea9d60481e662a0367.zip |
Add scheduling availability settings
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/dav/src/service/logger.js')
-rw-r--r-- | apps/dav/src/service/logger.js | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/apps/dav/src/service/logger.js b/apps/dav/src/service/logger.js new file mode 100644 index 00000000000..8941d8d8adc --- /dev/null +++ b/apps/dav/src/service/logger.js @@ -0,0 +1,28 @@ +/* + * @copyright 2021 Christoph Wurst <christoph@winzerhof-wurst.at> + * + * @author 2021 Christoph Wurst <christoph@winzerhof-wurst.at> + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ +import { getLoggerBuilder } from '@nextcloud/logger' + +const logger = getLoggerBuilder() + .setApp('dav') + .detectUser() + .build() + +export default logger |