Skip to content

Commit

Permalink
getLatestLogFiles => getLatestLogFile
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Flisar authored and Michael Flisar committed Oct 15, 2024
1 parent 8cb82c3 commit 0b705d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ package com.michaelflisar.lumberjack.core
import com.michaelflisar.lumberjack.core.interfaces.IFileLoggingSetup

fun IFileLoggingSetup.getAllExistingLogFiles() = getAllExistingLogFilePaths().map { it.toFile() }
fun IFileLoggingSetup.getLatestLogFiles() = getLatestLogFilePath()?.toFile()
fun IFileLoggingSetup.getLatestLogFile() = getLatestLogFilePath()?.toFile()
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ package com.michaelflisar.lumberjack.core
import com.michaelflisar.lumberjack.core.interfaces.IFileLoggingSetup

fun IFileLoggingSetup.getAllExistingLogFiles() = getAllExistingLogFilePaths().map { it.toFile() }
fun IFileLoggingSetup.getLatestLogFiles() = getLatestLogFilePath()?.toFile()
fun IFileLoggingSetup.getLatestLogFile() = getLatestLogFilePath()?.toFile()

0 comments on commit 0b705d5

Please sign in to comment.