Package | Description |
---|---|
org.pmw.tinylog.policies |
Policies for
RollingFileWriter |
org.pmw.tinylog.writers |
Writers for outputting log entries
|
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractTimeBasedPolicy |
Base class for time based policies.
|
class |
CountPolicy |
Policy for limiting the number of log entries per file.
|
class |
DailyPolicy |
Policy for one rollover per day.
|
class |
HourlyPolicy |
Policy for one rollover per hour.
|
class |
MonthlyPolicy |
Policy for one rollover per month.
|
class |
SizePolicy |
Policy for limiting the size of log files.
|
class |
StartupPolicy |
Policy for rolling log files once at startup.
|
class |
WeeklyPolicy |
Policy for one rollover per week.
|
class |
YearlyPolicy |
Policy for one rollover per year.
|
Modifier and Type | Method | Description |
---|---|---|
List<? extends Policy> |
RollingFileWriter.getPolicies() |
Get the rollover strategies.
|
Constructor | Description |
---|---|
RollingFileWriter(String filename,
int backups,
boolean buffered,
Labeler labeler,
Policy... policies) |
|
RollingFileWriter(String filename,
int backups,
boolean buffered,
Policy... policies) |
|
RollingFileWriter(String filename,
int backups,
Labeler labeler,
Policy... policies) |
|
RollingFileWriter(String filename,
int backups,
Policy... policies) |
Copyright © 2019. All rights reserved.