Files
hutool/hutool-log/src/test/resources/tinylog.properties
2024-09-06 00:06:14 +08:00

30 lines
1.3 KiB
Properties

#
# Copyright (c) 2024 Hutool Team and hutool.cn
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#-----------------------------------------------------------------------------------------------------------
# == TinyLog \u914d\u7f6e\u6587\u4ef6 ==
# \u914d\u7f6e\u89c1\uff1ahttp://www.tinylog.org/configuration#file
#-----------------------------------------------------------------------------------------------------------
# \u65e5\u5fd7\u5199\u51fa\u65b9\u5f0f\uff1a[console] [file] [jdbc] [logcat] [rollingfile] [sharedfile] [null]
tinylog.writer = console
writer = console
# \u65e5\u5fd7\u5199\u51fa\u7ea7\u522b\uff1aTRACE < DEBUG < INFO < WARNING < ERROR < OFF
tinylog.level = debug
# \u65e5\u5fd7\u6253\u5370\u683c\u5f0f
tinylog.format = [{date:HH:mm:ss}][{level}] {class}:{line} - {message}
writer.format = [{date:HH:mm:ss}][{level}] {class}:{line} - {message}